blob: 345d8e2316c6fb6d9824861f573477873412f909 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class AccessException(Exception):
"""
Happens when the API is not enabled. Error code: 4700-
"""
pass
class AuthenticationException(Exception):
"""
Happens in faulty authentication or when the session expires.
Error code: 4701.
"""
pass
class AccessDeniedException(Exception):
"""
Happens when the request method is not enabled. Error code: 4703
"""
pass
|