Skip to main content

Interface: WebAPIHTTPError

Defined in: packages/web-api/src/errors.ts:51

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;

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

Overrides

CodedError.code


errno?

optional errno: number;

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

Inherited from

CodedError.errno


headers

headers: IncomingHttpHeaders;

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


message

message: string;

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

Inherited from

CodedError.message


name

name: string;

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

Inherited from

CodedError.name


path?

optional path: string;

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

Inherited from

CodedError.path


stack?

optional stack: string;

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

Inherited from

CodedError.stack


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;

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

Inherited from

CodedError.syscall