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

Copy Markdown View Source

A program run failed after it started.

cause is the original error, unchanged, including ReqLLM provider errors. result is the partial Tune.Prediction with managed call counts, observed responses, and completed steps.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Tune.Error.Execution.Failed{
  __exception__: term(),
  bread_crumbs: term(),
  cause: term(),
  class: term(),
  path: term(),
  result: term(),
  splode: term(),
  stacktrace: term(),
  step: term(),
  vars: term()
}

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

Keys

  • :cause
  • :result
  • :step