Skip to main content

@slack/oauth / CodedError

Interface: CodedError

Defined in: packages/oauth/src/errors.ts:8

All errors produced by this package adhere to this interface.

NOTE: This interface is retained because it is part of the public CallbackOptions#failure callback signature. For new code, prefer instanceof checks against the SlackOAuthError base class or a specific error subclass.

Extends​

  • Error

Properties​

cause?​

optional cause?: unknown;

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

Inherited from​

Error.cause

code​

code: string;

Defined in: packages/oauth/src/errors.ts:9


message​

message: string;

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

Inherited from​

Error.message

name​

name: string;

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

Inherited from​

Error.name

stack?​

optional stack?: string;

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

Inherited from​

Error.stack