Module: Anthropic::Models::ErrorObject::Type

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

Constant Summary collapse

INVALID_REQUEST_ERROR =

Returns:

:invalid_request_error
AUTHENTICATION_ERROR =

Returns:

:authentication_error
BILLING_ERROR =

Returns:

:billing_error
PERMISSION_ERROR =

Returns:

:permission_error
NOT_FOUND_ERROR =

Returns:

:not_found_error
RATE_LIMIT_ERROR =

Returns:

:rate_limit_error
TIMEOUT_ERROR =

Returns:

:timeout_error
API_ERROR =

Returns:

:api_error
OVERLOADED_ERROR =

Returns:

:overloaded_error

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, 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

Instance Method Details

#self?.values::Array[Anthropic::Models::ErrorObject::type_]

Returns:



41
# File 'sig/anthropic/models/error_object.rbs', line 41

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