Jido.Error.TimeoutError exception (Jido v2.1.0)

View Source

Error for operation timeouts.

Fields

  • message - Human-readable error message
  • timeout - The timeout value in milliseconds
  • details - Additional context

Summary

Types

t()

@type t() :: %Jido.Error.TimeoutError{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  details: map(),
  message: String.t(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  timeout: non_neg_integer() | nil,
  vars: term()
}

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %Jido.Error.TimeoutError{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  details: term(),
  message: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  timeout: term(),
  vars: term()
}

Create an Elixir.Jido.Error.TimeoutError without raising it.

Keys

  • :message
  • :timeout
  • :details