Skip to main content

Class: ErrorWebSocketResult

An abstract class for representing WebSocket results.

Extends​

Constructors​

Constructor​

new ErrorWebSocketResult(error): ErrorWebSocketResult

Parameters​

error​

WebSocketError

Returns​

ErrorWebSocketResult

Overrides​

WebSocketResult.constructor

Properties​

rc​

readonly rc: number

Inherited from​

WebSocketResult.rc


value​

readonly value: WebSocketError

Inherited from​

WebSocketResult.value

Methods​

process()​

process(context): Promise<void>

Processes the result using the provided execution context.

Parameters​

context​

WebSocketContext

The execution context containing relevant information for processing.

Returns​

Promise<void>

A promise resolving when the result has been processed.

Overrides​

WebSocketResult.process