forked from mtusi2026/mtusi2026lab5
9 lines
280 B
Python
9 lines
280 B
Python
"""Ошибки API. Текст не содержит SQL, паролей и токенов."""
|
|
|
|
|
|
class ApiError(Exception):
|
|
def __init__(self, status: int, code: str, message: str):
|
|
self.status = status
|
|
self.code = code
|
|
self.message = message
|