Skip to main content

Interface: WebAPIHTTPError

All errors produced by this package adhere to this interface

Extends

Properties

body?

optional body: any;

Defined in

packages/web-api/src/errors.ts:57


code

code: HTTPError;

Overrides

CodedError.code

Defined in

packages/web-api/src/errors.ts:52


errno?

optional errno: number;

Inherited from

CodedError.errno

Defined in

docs/node_modules/@types/node/globals.d.ts:267


headers

headers: IncomingHttpHeaders;

Defined in

packages/web-api/src/errors.ts:55


message

message: string;

Inherited from

CodedError.message

Defined in

docs/node_modules/typescript/lib/lib.es5.d.ts:1077


name

name: string;

Inherited from

CodedError.name

Defined in

docs/node_modules/typescript/lib/lib.es5.d.ts:1076


path?

optional path: string;

Inherited from

CodedError.path

Defined in

docs/node_modules/@types/node/globals.d.ts:269


stack?

optional stack: string;

Inherited from

CodedError.stack

Defined in

docs/node_modules/typescript/lib/lib.es5.d.ts:1078


statusCode

statusCode: number;

Defined in

packages/web-api/src/errors.ts:53


statusMessage

statusMessage: string;

Defined in

packages/web-api/src/errors.ts:54


syscall?

optional syscall: string;

Inherited from

CodedError.syscall

Defined in

docs/node_modules/@types/node/globals.d.ts:270