TwurpleAuthenticationGetting dataExamplesFAQMigration

HttpStatusCodeError

Thrown whenever a HTTP error occurs. Some HTTP errors are handled in the library when they're expected.

Overview

Properties

body

Type: string

The body that was used for the request, as a string.

method

Type: string

The HTTP method that was used for the request.

name

Type: string

statusCode

Type: number

The HTTP status code of the error.

url

Type: string

The URL that was requested.