Documents for @litert/websocket / Errors / E_INVALID_PROTOCOL
Class: E_INVALID_PROTOCOL
Defined in: src/lib/Errors.ts:108
The error class for websocket.
Extends
Constructors
Constructor
new E_INVALID_PROTOCOL(
message,context,origin):E_INVALID_PROTOCOL
Defined in: src/lib/Errors.ts:110
Parameters
message
string
context
IErrorContext = {}
origin
unknown = null
Returns
E_INVALID_PROTOCOL
Overrides
Properties
context
readonlycontext:IErrorContext
Defined in: src/lib/Errors.ts:31
The context information for the error.
Inherited from
origin
readonlyorigin:unknown
Defined in: src/lib/Errors.ts:36
The origin object for the error.