-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserException.py
More file actions
31 lines (24 loc) · 809 Bytes
/
Copy pathUserException.py
File metadata and controls
31 lines (24 loc) · 809 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
29
30
31
class PingException(Exception):
"""Custom exception for ping-related errors."""
pass
class getTokenAndCookieException(Exception):
"""Custom exception for token and cookie retrieval errors."""
pass
class getStatusException(Exception):
"""Custom exception for status retrieval errors."""
pass
class LogoutException(Exception):
"""Custom exception for login timeout errors."""
pass
class ErrorException(Exception):
"""Custom exception for generic errors."""
pass
class LoginException(Exception):
"""Custom exception for login-related errors."""
pass
class HTTPCheckException(Exception):
"""Custom exception for HTTP check-related errors."""
pass
class CheckWlanException(Exception):
"""Custom exception for WLAN check-related errors."""
pass