Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsUnknownWorkflowRunErrorObject
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Sessions::BetaManagedAgentsUnknownWorkflowRunErrorObject
- Defined in:
- lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rb,
sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rbs
Instance Attribute Summary collapse
-
#message ⇒ String
Short explanation written by the server.
- #type ⇒ Symbol, :unknown_error
Instance Method Summary collapse
-
#initialize(message:, type: :unknown_error) ⇒ BetaManagedAgentsUnknownWorkflowRunErrorObject
constructor
A failure that has no type of its own.
- #to_hash ⇒ { message: String, type: :unknown_error }
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(message:, type: :unknown_error) ⇒ BetaManagedAgentsUnknownWorkflowRunErrorObject
A failure that has no type of its own.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Sessions::BetaManagedAgentsUnknownWorkflowRunErrorObject for more details.
|
|
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rb', line 20
|
Instance Attribute Details
#message ⇒ String
Short explanation written by the server. It never contains content from the run or its agents.
13 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rb', line 13 required :message, String |
#type ⇒ Symbol, :unknown_error
18 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rb', line 18 required :type, const: :unknown_error |
Instance Method Details
#to_hash ⇒ { message: String, type: :unknown_error }
15 |
# File 'sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rbs', line 15
def to_hash: -> { message: String, type: :unknown_error }
|