1
0
Fork 0
forked from s3lph/matemat
matemat/matemat/exceptions/AuthenticatonError.py

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