mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 15:07:55 +08:00
Modify code organization
This commit is contained in:
11
cmdb-api/api/lib/exception.py
Normal file
11
cmdb-api/api/lib/exception.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
|
||||
from werkzeug.exceptions import NotFound, Forbidden, BadRequest
|
||||
|
||||
|
||||
class CommitException(Exception):
|
||||
pass
|
||||
|
||||
|
||||
AbortException = (NotFound, Forbidden, BadRequest)
|
Reference in New Issue
Block a user