1
0
mirror of synced 2024-12-04 18:47:56 +01:00
bemaniutils/bemani/api/exceptions.py

6 lines
141 B
Python
Raw Normal View History

class APIException(Exception):
def __init__(self, msg: str, code: int=500) -> None:
self.message = msg
self.code = code