Skip to main content

@slack/webhook / CodedError

Interface: CodedError

Defined in: packages/webhook/src/errors.ts:4

Deprecated​

Use instanceof checks with specific error classes (e.g. IncomingWebhookRequestError) or the SlackWebhookError base class instead.

Extends​

  • ErrnoException

Properties​

cause?​

optional cause?: unknown;

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from​

NodeJS.ErrnoException.cause

code​

code: ErrorCode;

Defined in: packages/webhook/src/errors.ts:5

Overrides​

NodeJS.ErrnoException.code

errno?​

optional errno?: number;

Defined in: packages/webhook/node_modules/@types/node/globals.d.ts:101

Inherited from​

NodeJS.ErrnoException.errno

message​

message: string;

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

Inherited from​

NodeJS.ErrnoException.message

name​

name: string;

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

Inherited from​

NodeJS.ErrnoException.name

path?​

optional path?: string;

Defined in: packages/webhook/node_modules/@types/node/globals.d.ts:103

Inherited from​

NodeJS.ErrnoException.path

stack?​

optional stack?: string;

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

Inherited from​

NodeJS.ErrnoException.stack

syscall?​

optional syscall?: string;

Defined in: packages/webhook/node_modules/@types/node/globals.d.ts:104

Inherited from​

NodeJS.ErrnoException.syscall