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.
24 lines
633 B
24 lines
633 B
5 years ago
|
""" all geroide exception """
|
||
|
|
||
|
class Error(Exception):
|
||
|
"""Base class for exceptions in this module."""
|
||
|
pass
|
||
|
|
||
|
class LoginException(Error):
|
||
|
"""loggin exception"""
|
||
|
def __init__(self, expression, message):
|
||
|
self.expression = expression
|
||
|
self.message = message
|
||
|
|
||
|
class UnauthorizedException(Error):
|
||
|
"""loggin exception"""
|
||
|
def __init__(self, expression, message):
|
||
|
self.expression = expression
|
||
|
self.message = message
|
||
|
|
||
|
class SeverException(Error):
|
||
|
"""loggin exception"""
|
||
|
def __init__(self, expression, message):
|
||
|
self.expression = expression
|
||
|
self.message = message
|