Skip to content

Documents for @litert/websocket / Errors / E_INVALID_CONFIG

Class: E_INVALID_CONFIG ​

Defined in: src/lib/Errors.ts:124

The error class for websocket.

Extends ​

Constructors ​

Constructor ​

new E_INVALID_CONFIG(context, origin): E_INVALID_CONFIG

Defined in: src/lib/Errors.ts:126

Parameters ​

context ​

IErrorContext = {}

origin ​

unknown = null

Returns ​

E_INVALID_CONFIG

Overrides ​

WsError.constructor

Properties ​

context ​

readonly context: IErrorContext

Defined in: src/lib/Errors.ts:31

The context information for the error.

Inherited from ​

WsError.context


origin ​

readonly origin: unknown

Defined in: src/lib/Errors.ts:36

The origin object for the error.

Inherited from ​

WsError.origin