Esc

Ws_Error

structextensionsince 0.36.1Source
  • macOS: Ws_Error works on macOS
  • Linux: Ws_Error works on Linux
  • Windows: Ws_Error works on Windows
  • Wasm: Ws_Error works on Wasm

Declaration

Ws_Error :: struct {
    kind: Ws_Error_Kind;    message: string;    offset: s64;}

The outcome of a WebSocket operation; kind is .NONE on success. message is static, offset is a byte position in the stream when known.

See also