Dllb.Error exception (Dllb v0.1.0)

Copy Markdown View Source

Exception struct for dllb client errors.

Fields

  • :message - human-readable error description
  • :type - atom classifying the error, one of :connection_error, :protocol_error, :query_error, :timeout

Summary

Types

t()

@type t() :: %Dllb.Error{
  __exception__: true,
  message: String.t(),
  type: :connection_error | :protocol_error | :query_error | :timeout
}