Class: Anthropic::Models::Beta::Organization::ClaudeCode::BetaSettingsHistoryLimitExceededErrorDetails

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rb,
sig/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rbs

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(error_code: :settings_history_limit_exceeded) ⇒ BetaSettingsHistoryLimitExceededErrorDetails

The organization has reached its settings history limit, a cap on stored versions of its settings documents. Nothing in the API or claude.ai lowers the count, so contact support. Creating or deleting group settings, creating or clearing the default settings, and reordering are refused. Changing the mode still works, unless it would copy the organization settings into a new default.

Parameters:

  • error_code (Symbol, :settings_history_limit_exceeded) (defaults to: :settings_history_limit_exceeded)
  • error_code: (:settings_history_limit_exceeded) (defaults to: :settings_history_limit_exceeded)


# File 'lib/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rb', line 14

Instance Attribute Details

#error_code ⇒ Symbol, :settings_history_limit_exceeded

Parameters:

  • value (:settings_history_limit_exceeded)

Returns:

  • (Symbol, :settings_history_limit_exceeded)


12
# File 'lib/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rb', line 12

required :error_code, const: :settings_history_limit_exceeded

Instance Method Details

#to_hash ⇒ { error_code: :settings_history_limit_exceeded }

Returns:

  • ({ error_code: :settings_history_limit_exceeded })


16
# File 'sig/anthropic/models/beta/organization/claude_code/beta_settings_history_limit_exceeded_error_details.rbs', line 16

def to_hash: -> { error_code: :settings_history_limit_exceeded }