diff options
Diffstat (limited to 'src/home/api/errors/api_response_error.py')
-rw-r--r-- | src/home/api/errors/api_response_error.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/home/api/errors/api_response_error.py b/src/home/api/errors/api_response_error.py index 6910b2d..85d788b 100644 --- a/src/home/api/errors/api_response_error.py +++ b/src/home/api/errors/api_response_error.py @@ -1,4 +1,4 @@ -from typing import Optional +from typing import Optional, List class ApiResponseError(Exception): @@ -6,7 +6,7 @@ class ApiResponseError(Exception): status_code: int, error_type: str, error_message: str, - error_stacktrace: Optional[list[str]] = None): + error_stacktrace: Optional[List[str]] = None): super().__init__() self.status_code = status_code self.error_message = error_message |