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

View Source

Error for invalid message roles.

Summary

Functions

exception(args)

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

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

Keys

  • :role