class

OpenAI::RunStepObjectLastErrorVariant1

Inherits JSON::Serializable < Reference < Object

The last error associated with this run step. Will be null if there are no errors.

Constructors

new(code : RunStepObjectLastErrorVariant1Code = RunStepObjectLastErrorVariant1Code::ServerError, message : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code

One of server_error or rate_limit_exceeded.

Source
code=(code : RunStepObjectLastErrorVariant1Code)

One of server_error or rate_limit_exceeded.

Source
message

A human-readable description of the error.

Source
message=(message : String)

A human-readable description of the error.

Source