Class: OpenAI::Models::Beta::Threads::Runs::RunStep::LastError
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::Runs::RunStep::LastError
- Defined in:
- lib/openai/models/beta/threads/runs/run_step.rb
Overview
Defined Under Namespace
Modules: Code
Instance Attribute Summary collapse
-
#code ⇒ Symbol, OpenAI::Models::Beta::Threads::Runs::RunStep::LastError::Code
One of ‘server_error` or `rate_limit_exceeded`.
-
#message ⇒ String
A human-readable description of the error.
Instance Method Summary collapse
-
#initialize(code: , message: ) ⇒ Object
constructor
The last error associated with this run step.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(code: , message: ) ⇒ Object
The last error associated with this run step. Will be ‘null` if there are no errors.
|
# File 'lib/openai/models/beta/threads/runs/run_step.rb', line 171
|
Instance Attribute Details
#code ⇒ Symbol, OpenAI::Models::Beta::Threads::Runs::RunStep::LastError::Code
One of ‘server_error` or `rate_limit_exceeded`.
163 |
# File 'lib/openai/models/beta/threads/runs/run_step.rb', line 163 required :code, enum: -> { OpenAI::Beta::Threads::Runs::RunStep::LastError::Code } |
#message ⇒ String
A human-readable description of the error.
169 |
# File 'lib/openai/models/beta/threads/runs/run_step.rb', line 169 required :message, String |