ReqLLM.Error.API.SchemaValidation exception (ReqLLM v1.0.0)

View Source

Error for when generated objects don't match the expected schema.

Summary

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %ReqLLM.Error.API.SchemaValidation{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  errors: term(),
  json_path: term(),
  message: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  value: term(),
  vars: term()
}

Create an Elixir.ReqLLM.Error.API.SchemaValidation without raising it.

Keys

  • :message
  • :errors
  • :json_path
  • :value