ReqLLM.Error.Validation.Error exception (ReqLLM v1.0.0-rc.8)

View Source

Error for parameter validation failures.

Summary

Types

t()

Validation error returned by ReqLLM

Types

t()

@type t() :: %ReqLLM.Error.Validation.Error{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  context: keyword(),
  path: term(),
  reason: String.t(),
  splode: term(),
  stacktrace: term(),
  tag: atom(),
  vars: term()
}

Validation error returned by ReqLLM

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %ReqLLM.Error.Validation.Error{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  context: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  tag: term(),
  vars: term()
}

Create an Elixir.ReqLLM.Error.Validation.Error without raising it.

Keys

  • :tag
  • :reason
  • :context