1
0
mirror of synced 2024-11-15 02:17:36 +01:00
bemaniutils/bemani/api/exceptions.py
2019-12-08 21:43:49 +00:00

6 lines
141 B
Python

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