Skip to main content

@slack/rtm-api / RTMWebsocketError

Interface: RTMWebsocketError

Defined in: packages/rtm-api/src/errors.ts:38

All errors produced by this package adhere to this interface

Extends​

Properties​

cause?​

optional cause?: unknown;

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

Inherited from​

CodedError.cause


code​

code: WebsocketError;

Defined in: packages/rtm-api/src/errors.ts:39

Overrides​

CodedError.code


errno?​

optional errno?: number;

Defined in: packages/rtm-api/node_modules/@types/node/globals.d.ts:101

Inherited from​

CodedError.errno


message​

message: string;

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

Inherited from​

CodedError.message


name​

name: string;

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

Inherited from​

CodedError.name


original​

original: Error;

Defined in: packages/rtm-api/src/errors.ts:40


path?​

optional path?: string;

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

Inherited from​

CodedError.path


stack?​

optional stack?: string;

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

Inherited from​

CodedError.stack


syscall?​

optional syscall?: string;

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

Inherited from​

CodedError.syscall