-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy patherrors.py
More file actions
28 lines (18 loc) · 693 Bytes
/
errors.py
File metadata and controls
28 lines (18 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class UserAlreadyActive(Exception):
def __init__(self, *args: object) -> None:
super().__init__(*args)
class MaxRetriesExceeded(Exception):
def __init__(self, *args: object) -> None:
super().__init__(*args)
class UserNotFound(Exception):
def __init__(self, *args: object) -> None:
super().__init__(*args)
class InvalidToken(Exception):
def __init__(self, *args: object) -> None:
super().__init__(*args)
class InvalidTokenOrEmail(Exception):
def __init__(self, *args: object) -> None:
super().__init__(*args)
class WrongTimeInterval(Exception):
def __init__(self, *args: object) -> None:
super().__init__(*args)