Dsxir.Errors.Adapter.FallbackExhausted exception (dsxir v0.1.0)

Copy Markdown

Raised when an adapter's one-shot fallback (Chat->Json or Json schema retry) also fails.

Summary

Types

t()

@type t() :: %Dsxir.Errors.Adapter.FallbackExhausted{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  from: term(),
  last_error: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  to: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Dsxir.Errors.Adapter.FallbackExhausted{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  from: term(),
  last_error: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  to: term(),
  vars: term()
}

Create an Elixir.Dsxir.Errors.Adapter.FallbackExhausted without raising it.

Keys

  • :from
  • :to
  • :last_error