struct

LLM::HttpTransport::Rejection

Inherits Struct < Value < Object

A provider's final answer that was not a success and not worth another attempt (a 400 naming a bad parameter, a prompt over the context window). Handed back so the caller can read why.

Constructors

new(status : Int32, body : String, location : String | Nil = nil)
Source

Instance methods

body
clone
Source
copy_with(status _status = @status, body _body = @body, location _location = @location)
Source
location
status