Skip to main content

@slack/web-api / CodedError

Interface: CodedError

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

Deprecated​

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

Extends​

  • ErrnoException

Properties​

cause?​

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/web-api/src/errors.ts:7

Overrides​

NodeJS.ErrnoException.code


errno?​

errno?: number;

Defined in: packages/web-api/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?​

path?: string;

Defined in: packages/web-api/node_modules/@types/node/globals.d.ts:103

Inherited from​

NodeJS.ErrnoException.path


stack?​

stack?: string;

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

Inherited from​

NodeJS.ErrnoException.stack


syscall?​

syscall?: string;

Defined in: packages/web-api/node_modules/@types/node/globals.d.ts:104

Inherited from​

NodeJS.ErrnoException.syscall