Dsxir.Errors.LM.RequestFailed exception (dsxir v0.1.0)

Copy Markdown

Raised on a non-classified LM provider error (transport, server error, empty response).

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Dsxir.Errors.LM.RequestFailed{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  model_id: term(),
  parent_error: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  status: term(),
  vars: term()
}

Create an Elixir.Dsxir.Errors.LM.RequestFailed without raising it.

Keys

  • :model_id
  • :status
  • :parent_error