Skip to content

API Error

greysdawn edited this page Nov 17, 2021 · 1 revision

API Error Objects

API Errors are generated when the internal handler runs into a problem with a request. These can't be instantiated directly

Properties

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

Clone this wiki locally