Module: Anthropic::Models::ErrorType

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/error_type.rb,
sig/anthropic/models/error_type.rbs

Constant Summary collapse

INVALID_REQUEST_ERROR =

Returns:

  • (:invalid_request_error)
:invalid_request_error
AUTHENTICATION_ERROR =

Returns:

  • (:authentication_error)
:authentication_error
PERMISSION_ERROR =

Returns:

  • (:permission_error)
:permission_error
NOT_FOUND_ERROR =

Returns:

  • (:not_found_error)
:not_found_error
RATE_LIMIT_ERROR =

Returns:

  • (:rate_limit_error)
:rate_limit_error
TIMEOUT_ERROR =

Returns:

  • (:timeout_error)
:timeout_error
OVERLOADED_ERROR =

Returns:

  • (:overloaded_error)
:overloaded_error
API_ERROR =

Returns:

  • (:api_error)
:api_error
BILLING_ERROR =

Returns:

  • (:billing_error)
:billing_error

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/error_type.rb', line 18

Instance Method Details

#self?.values::Array[Anthropic::Models::error_type]

Returns:

  • (::Array[Anthropic::Models::error_type])


27
# File 'sig/anthropic/models/error_type.rbs', line 27

def self?.values: -> ::Array[Anthropic::Models::error_type]