Class: Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultErrorParam
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultErrorParam
- Defined in:
- lib/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error_param.rb
Defined Under Namespace
Modules: ErrorCode
Instance Attribute Summary collapse
- #error_code ⇒ Symbol, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultErrorParam::ErrorCode
- #error_message ⇒ String?
- #type ⇒ Symbol, :text_editor_code_execution_tool_result_error
Instance Method Summary collapse
- #initialize(error_code: , error_message: nil, type: :text_editor_code_execution_tool_result_error) ⇒ Object constructor
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, meta_info, new_coerce_state, 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(error_code: , error_message: nil, type: :text_editor_code_execution_tool_result_error) ⇒ Object
|
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error_param.rb', line 23
|
Instance Attribute Details
#error_code ⇒ Symbol, Anthropic::Models::Beta::BetaTextEditorCodeExecutionToolResultErrorParam::ErrorCode
10 11 |
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error_param.rb', line 10 required :error_code, enum: -> { Anthropic::Beta::BetaTextEditorCodeExecutionToolResultErrorParam::ErrorCode } |
#error_message ⇒ String?
21 |
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error_param.rb', line 21 optional :error_message, String, nil?: true |
#type ⇒ Symbol, :text_editor_code_execution_tool_result_error
16 |
# File 'lib/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error_param.rb', line 16 required :type, const: :text_editor_code_execution_tool_result_error |