schemas updated

This commit is contained in:
2025-01-13 23:07:29 +03:00
parent ab76e972e3
commit f21c92cb27
12 changed files with 27 additions and 31 deletions

View File

@@ -1,10 +0,0 @@
from ErrorHandlers.ApiErrorHandlers.api_exc_handler import (
HTTPExceptionApiHandler,
HTTPExceptionApi,
)
__all__ = [
"HTTPExceptionApiHandler",
"HTTPExceptionApi",
]

View File

@@ -1,11 +1,5 @@
from typing import Any, Dict, List, Optional
class HTTPExceptionApi(Exception):
def __init__(self, error_code: str, lang: str):
self.error_code = error_code
self.lang = lang
from typing import Any, Dict
from ErrorHandlers.Exceptions.api_exc import HTTPExceptionApi
class HTTPExceptionApiHandler:

View File

@@ -0,0 +1,7 @@
class HTTPExceptionApi(Exception):
def __init__(self, error_code: str, lang: str):
self.error_code = error_code
self.lang = lang

View File

@@ -0,0 +1,12 @@
from ErrorHandlers.ErrorHandlers.api_exc_handler import (
HTTPExceptionApiHandler,
)
from ErrorHandlers.Exceptions.api_exc import (
HTTPExceptionApi,
)
__all__ = [
"HTTPExceptionApiHandler",
"HTTPExceptionApi",
]