Exceptions
AuthenticationTooSlow
Bases: HttpException
Raised if the authentication grant expired
Source code in src/bungio/error.py
92 93 94 95 96 97 98 | |
BadRequest
Bases: HttpException
Raised if the resource returned a generic error (400)
Source code in src/bungio/error.py
83 84 85 86 87 88 89 | |
BungIOException
Bases: Exception
The base exception.
Source code in src/bungio/error.py
21 22 23 24 25 26 27 | |
BungieDead
Bases: HttpException
Raised if bungie is down. Usually this mean maintenance, see their twitter for more info
Source code in src/bungio/error.py
101 102 103 104 105 106 107 | |
BungieException
Bases: HttpException
An exception raised by bungie
Attributes:
| Name | Type | Description |
|---|---|---|
error |
str
|
The exception bungie raised |
message |
str
|
The message bungie returned |
code |
int
|
The code of the exception |
data |
dict
|
The data of the exception |
Source code in src/bungio/error.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | |
HttpException
Bases: BungIOException
The base http exception.
Source code in src/bungio/error.py
30 31 32 33 34 35 36 | |
InvalidAuthentication
Bases: HttpException
Raised if the passed authentication is invalid
Attributes:
| Name | Type | Description |
|---|---|---|
auth |
AuthData
|
The passed authentication |
Source code in src/bungio/error.py
62 63 64 65 66 67 68 69 70 71 | |
NotFound
Bases: HttpException
Raised if the resource was not found (404)
Source code in src/bungio/error.py
74 75 76 77 78 79 80 | |
TimeoutException
Bases: HttpException
If the requests failed multiple times in a row without a specific exception
Source code in src/bungio/error.py
115 116 117 118 119 120 121 | |