Module: Anthropic::Models::WebFetchToolResultErrorCode

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

Constant Summary collapse

INVALID_TOOL_INPUT =

Returns:

  • (:invalid_tool_input)
:invalid_tool_input
URL_TOO_LONG =

Returns:

  • (:url_too_long)
:url_too_long
URL_NOT_ALLOWED =

Returns:

  • (:url_not_allowed)
:url_not_allowed
URL_NOT_IN_PRIOR_CONTEXT =

Returns:

  • (:url_not_in_prior_context)
:url_not_in_prior_context
URL_NOT_ACCESSIBLE =

Returns:

  • (:url_not_accessible)
:url_not_accessible
UNSUPPORTED_CONTENT_TYPE =

Returns:

  • (:unsupported_content_type)
:unsupported_content_type
TOO_MANY_REQUESTS =

Returns:

  • (:too_many_requests)
:too_many_requests
MAX_USES_EXCEEDED =

Returns:

  • (:max_uses_exceeded)
:max_uses_exceeded
UNAVAILABLE =

Returns:

  • (:unavailable)
:unavailable

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/web_fetch_tool_result_error_code.rb', line 18

Instance Method Details

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

Returns:

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


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

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