Skip to content

Documents for @litert/websocket / Errors / E_CONN_LOST

Class: E_CONN_LOST ​

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

The error class for websocket.

Extends ​

Constructors ​

Constructor ​

new E_CONN_LOST(context, origin): E_CONN_LOST

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

Parameters ​

context ​

IErrorContext = {}

origin ​

unknown = null

Returns ​

E_CONN_LOST

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