Arcadic.TransportError exception (Arcadic v4.0.1)

Copy Markdown View Source

Represents a connection or protocol failure. The transport supplies the value-free reason atom.

HTTP examples include :econnrefused, :closed, and :timeout. Bolt may also report :bolt_protocol_error, :transaction_error, :cursor_open, or :cursor_already_open. A server-reported failure uses Arcadic.Error.

gRPC reports :not_sent if the connection could not open the request or the peer explicitly proves it did not process the stream. An opt-in managed transaction retry may retry this verdict.

HTTP and gRPC report :outcome_unknown for an explicitly unconfirmed server outcome. gRPC also reports it when a request may have reached the server and its reply is lost, oversized, or otherwise invalid. The operation may have taken effect. Reconcile its state before repeating it.

Summary

Types

t()

@type t() :: %Arcadic.TransportError{__exception__: term(), reason: atom()}