ReqLLM.Error.Invalid.ProviderFileReference exception (ReqLLM v1.19.0)

View Source

Error for an explicitly owned provider file used outside its lifecycle.

Summary

Types

t()

Validation error for an explicitly provider-owned file reference.

Types

t()

@type t() :: %ReqLLM.Error.Invalid.ProviderFileReference{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  expires_at: String.t() | nil,
  owner: String.t(),
  path: term(),
  provider: String.t(),
  reason: :provider_mismatch | :expired,
  splode: term(),
  stacktrace: term(),
  status: String.t() | nil,
  vars: term()
}

Validation error for an explicitly provider-owned file reference.

Functions

exception(args)

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

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

Keys

  • :reason
  • :owner
  • :provider
  • :expires_at
  • :status