Class: OpenAI::Models::BatchError
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BatchError
- Defined in:
- lib/openai/models/batch_error.rb
Instance Attribute Summary collapse
-
#code ⇒ String?
An error code identifying the error type.
-
#line ⇒ Integer?
The line number of the input file where the error occurred, if applicable.
-
#message ⇒ String?
A human-readable message providing more details about the error.
-
#param ⇒ String?
The name of the parameter that caused the error, if applicable.
Instance Method Summary collapse
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: nil, line: nil, message: nil, param: nil) ⇒ Object
|
# File 'lib/openai/models/batch_error.rb', line 30
|
Instance Attribute Details
#code ⇒ String?
An error code identifying the error type.
10 |
# File 'lib/openai/models/batch_error.rb', line 10 optional :code, String |
#line ⇒ Integer?
The line number of the input file where the error occurred, if applicable.
16 |
# File 'lib/openai/models/batch_error.rb', line 16 optional :line, Integer, nil?: true |
#message ⇒ String?
A human-readable message providing more details about the error.
22 |
# File 'lib/openai/models/batch_error.rb', line 22 optional :message, String |
#param ⇒ String?
The name of the parameter that caused the error, if applicable.
28 |
# File 'lib/openai/models/batch_error.rb', line 28 optional :param, String, nil?: true |