class

OpenAI::BatchError

Inherits JSON::Serializable < Reference < Object

Constructors

new(code : String | Nil = nil, message : String | Nil = nil, param : BatchErrorParam | Nil = nil, line : BatchErrorLine | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code

An error code identifying the error type.

Source
code=(code : String | Nil)

An error code identifying the error type.

Source
line
Source
line=(line : BatchErrorLine | Nil)
Source
message

A human-readable message providing more details about the error.

Source
message=(message : String | Nil)

A human-readable message providing more details about the error.

Source
param
Source
param=(param : BatchErrorParam | Nil)
Source