[UPD] Exception handling
This commit is contained in:
7
app/controller/exceptions/exc_01003X_update.py
Normal file
7
app/controller/exceptions/exc_01003X_update.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from .base import LibraryExceptionBase
|
||||
|
||||
#010020
|
||||
class LibraryUpdateException(LibraryExceptionBase):
|
||||
def __init__(self, name, error, object_name, data, status_code=404):
|
||||
super().__init__(name, error, object_name, data, status_code=status_code)
|
||||
self.code = "010020"
|
||||
Reference in New Issue
Block a user