Class: Anthropic::Models::Beta::Organization::ClaudeCode::BetaSettingsDocumentLimitExceededErrorDetails

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/anthropic/models/beta/organization/claude_code/beta_settings_document_limit_exceeded_error_details.rb,
sig/anthropic/models/beta/organization/claude_code/beta_settings_document_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_document_limit_exceeded) ⇒ BetaSettingsDocumentLimitExceededErrorDetails

The organization has reached its limit of settings documents, counting unused ones. An owner can remove unused documents in claude.ai. Deleting a group's settings or clearing the default settings also frees a document, if nothing else uses it. None of these works once the organization has also reached its settings history limit.

Parameters:

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


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


Instance Attribute Details

#error_code ⇒ Symbol, :settings_document_limit_exceeded

Parameters:

  • value (:settings_document_limit_exceeded)

Returns:

  • (Symbol, :settings_document_limit_exceeded)


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

required :error_code, const: :settings_document_limit_exceeded

Instance Method Details

#to_hash ⇒ { error_code: :settings_document_limit_exceeded }

Returns:

  • ({ error_code: :settings_document_limit_exceeded })


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

def to_hash: -> { error_code: :settings_document_limit_exceeded }