new api service and logic implemented
This commit is contained in:
7
ApiLayers/ErrorHandlers/Exceptions/api_exc.py
Normal file
7
ApiLayers/ErrorHandlers/Exceptions/api_exc.py
Normal file
@@ -0,0 +1,7 @@
|
||||
class HTTPExceptionApi(Exception):
|
||||
|
||||
def __init__(self, error_code: str, lang: str, loc: str = "", sys_msg: str = ""):
|
||||
self.error_code = error_code
|
||||
self.lang = lang
|
||||
self.loc = loc
|
||||
self.sys_msg = sys_msg
|
||||
Reference in New Issue
Block a user