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

Copy Markdown View Source

An optimization could not return an eligible program.

report is the optimization report with partial records. cause is the original error when one stopped the run.

Summary

Functions

exception(msg)

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

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

Keys

  • :message
  • :cause
  • :report