forked from s3lph/matemat
12 lines
256 B
Python
12 lines
256 B
Python
|
|
class AuthenticationError(BaseException):
|
|
|
|
def __init__(self, msg: str = None):
|
|
self._msg = msg
|
|
|
|
def __str__(self) -> str:
|
|
return f'AuthenticationErro: {self._msg}'
|
|
|
|
@property
|
|
def msg(self) -> str:
|
|
return self._msg
|