15 lines
303 B
Python
15 lines
303 B
Python
class ClanError(Exception):
|
|
"""Base class for exceptions in this module."""
|
|
|
|
pass
|
|
|
|
|
|
class ClanHttpError(ClanError):
|
|
status_code: int
|
|
msg: str
|
|
|
|
def __init__(self, status_code: int, msg: str):
|
|
self.status_code = status_code
|
|
self.msg = msg
|
|
super().__init__(msg)
|