Nous.Errors.ModelError exception (nous v0.13.3)

View Source

Error from the model provider API.

Raised when the underlying model API returns an error.

Note: Consider using ProviderError for new code.

Summary

Types

t()

@type t() :: %Nous.Errors.ModelError{
  __exception__: true,
  details: any(),
  message: String.t(),
  provider: atom() | nil,
  status_code: integer() | nil
}