Skip to main content

Interface: CodedError

All errors produced by this package are regular Error objects with an extra error field.

Extends

  • Error

Properties

code

code: ErrorCode;

What kind of error occurred.

Defined in

packages/events-api/src/http-handler.ts:292


message

message: string;

Inherited from

Error.message

Defined in

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


name

name: string;

Inherited from

Error.name

Defined in

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


stack?

optional stack: string;

Inherited from

Error.stack

Defined in

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