Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

exceptions.py 264B

123456789101112
  1. from lodel import logger
  2. class AuthenticationError(Exception):
  3. pass
  4. class AuthenticationFailure(Exception):
  5. def __init__(self, client):
  6. msg = "%s : authentication failure" % client
  7. logger.security(msg)
  8. super().__init__(msg)