ReqLLM.Error.Invalid.Provider exception (ReqLLM v1.0.0)

View Source

Error for unknown or unsupported providers.

Summary

Types

t()

Error for unknown provider

Types

t()

@type t() :: %ReqLLM.Error.Invalid.Provider{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  path: term(),
  provider: atom(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Error for unknown provider

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %ReqLLM.Error.Invalid.Provider{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  path: term(),
  provider: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.ReqLLM.Error.Invalid.Provider without raising it.

Keys

  • :provider