-
Notifications
You must be signed in to change notification settings - Fork 3
API Error
greysdawn edited this page Nov 17, 2021
·
1 revision
API Errors are generated when the internal handler runs into a problem with a request. These can't be instantiated directly
| key | type | notes |
|---|---|---|
| api | Object | see below |
| status | number|string | set to ??? if data missing |
| code | number|string | set to ??? if data missing |
| message | string | set to Unknown error. if data missing |
| statusText | string | set to Unknown error. if data missing |
| headers | Object | headers from the response |
API Object Contains important keys from the instantiating API
| key | type |
|---|---|
| baseURL | string |
| token | string |
| version | number |
credit to xSke for Pluralkit