Skip to content

aisbreaker-api-js - v0.1.15 / api/AIsError / AIsErrorData

Interface: AIsErrorData ​

api/AIsError.AIsErrorData

Error class struct to be able to easily forward HTTP errors and error codes via the (network) AIsBreaker API to the actual client.

Implemented by ​

Table of contents ​

Properties ​

Properties ​

message ​

• message: string

Defined in ​

aisbreaker-js/packages/aisbreaker-api-js/src/api/AIsError.ts:16


statusCode ​

• statusCode: number

Defined in ​

aisbreaker-js/packages/aisbreaker-api-js/src/api/AIsError.ts:17


statusText ​

• Optional statusText: string

Defined in ​

aisbreaker-js/packages/aisbreaker-api-js/src/api/AIsError.ts:18

Released under the MIT License.