Lightstreamer.Error exception (Lightstreamer v0.1.0)

Copy Markdown View Source

A protocol-level error reported by the Lightstreamer server.

The :code is surfaced verbatim from the wire (CONERR/REQERR/END). Notable CONERR codes:

  • 1 — user/password check failed (never retried automatically)
  • 2 — the requested adapter set is unavailable
  • 5 — the server cannot accept new sessions; retry later

Summary

Types

t()

@type t() :: %Lightstreamer.Error{
  __exception__: true,
  code: integer() | nil,
  message: String.t()
}