1
0
mirror of synced 2024-12-19 17:55:52 +01:00
bemaniutils/bemani/api/exceptions.py

5 lines
142 B
Python

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