Quic.Error exception (elixir_quic v0.16.7)

Copy Markdown View Source

Typed error categories used at QUIC runtime boundaries.

Summary

Types

kind()

@type kind() :: :parse | :bounds | :unsupported | :crypto | :state | :io | :timeout

t()

@type t() :: %Quic.Error{
  __exception__: true,
  detail: term(),
  kind: kind(),
  reason: atom()
}

Functions

new(kind, reason, detail \\ nil)