Skip to main content

APIError class

Properties

status HttpStatus

status

The response status

humanReadableMessage string

humanReadableMessage

A human readable error message

note

This property is just intended for developers and shouldn't be shown to users as it may confuse them, and may contain sensitive information in the future. You should write your own error messages to handle these situations.

retryAfter number

retryAfter

How long you should wait before retrying the request in milliseconds. Null if not specified by the server.

responseObject Response

responseObject

The Response object that returned the error