Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsRepositoryNotFoundError

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb,
sig/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rbs

Defined Under Namespace

Modules: RetryStatus

Instance Attribute Summary collapse

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, 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:, repository_url:, retry_status:, type: :repository_not_found_error) ⇒ void

The repository host reported the repository as not found.

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Sessions::BetaManagedAgentsRepositoryNotFoundError for more details.

Parameters:



# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb', line 34


Instance Attribute Details

#message ⇒ String

Human-readable error description.

Parameters:

  • value (String)

Returns:

  • (String)


12
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb', line 12

required :message, String

#repository_url ⇒ String?

URL of the repository that could not be cloned. Null when it could not be identified.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


19
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb', line 19

required :repository_url, String, nil?: true

#retry_status ⇒ Anthropic::Models::Beta::Sessions::BetaManagedAgentsRetryStatusRetrying, ...

What the client should do next. Always retrying: the session keeps running without the repository.



26
27
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb', line 26

required :retry_status,
union: -> { Anthropic::Beta::Sessions::BetaManagedAgentsRepositoryNotFoundError::RetryStatus }

#type ⇒ Symbol, :repository_not_found_error

Parameters:

  • value (:repository_not_found_error)

Returns:

  • (Symbol, :repository_not_found_error)


32
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb', line 32

required :type, const: :repository_not_found_error

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


29
# File 'sig/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rbs', line 29

def to_hash: -> {