Tune.Error.Execution.LimitReached exception (Tune v0.5.0)

Copy Markdown View Source

A managed limit stopped a call before dispatch.

limit is :model_calls, :steps, or :deadline.

Summary

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %Tune.Error.Execution.LimitReached{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  limit: term(),
  message: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Tune.Error.Execution.LimitReached without raising it.

Keys

  • :limit
  • :message