Class: ConnectionClosedError
Defined in: packages/darkws/src/dark-ws.ts:98
Extends
Error
Constructors
Constructor
new ConnectionClosedError(
message,sent?):ConnectionClosedError
Defined in: packages/darkws/src/dark-ws.ts:100
sent means at least one attempt was accepted by WebSocket.send, not that the server acknowledged it.
Parameters
message
string
sent?
boolean = false
Returns
ConnectionClosedError
Overrides
Error.constructor
Properties
cause?
optionalcause?:unknown
Defined in: website/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Error.cause
message
message:
string
Defined in: website/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Error.message
name
name:
string
Defined in: website/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Error.name
sent
readonlysent:boolean=false
Defined in: packages/darkws/src/dark-ws.ts:100
stack?
optionalstack?:string
Defined in: website/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.stack