AI::OpenAI::OpenAIErrorInfo
Inherits JSON::Serializable < Struct < Value < Object
OpenAI error information structure.
The additional information below is handled loosely to support OpenAI-compatible providers that have slightly different error responses.
Constructors
new(pull : JSON::PullParser)
Sourcenew(message : String, type : String | Nil = nil, param : JSON::Any | Nil = nil, code : String | Int64 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Source