ft_transcendence/srcs/.venv/lib/python3.11/site-packages/restapi/exceptions.py

11 lines
165 B
Python
Raw Permalink Normal View History

2023-11-23 10:43:30 -05:00
class APIError(Exception):
def __init__(self, status=400, msg='', code=0):
self.status = status
self.msg = msg
self.code = code