Module: OpenAI::Models::Responses::ResponseError::Code

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/responses/response_error.rb

Overview

The error code for the response.

See Also:

Constant Summary collapse

SERVER_ERROR =
:server_error
RATE_LIMIT_EXCEEDED =
:rate_limit_exceeded
INVALID_PROMPT =
:invalid_prompt
VECTOR_STORE_TIMEOUT =
:vector_store_timeout
INVALID_IMAGE =
:invalid_image
INVALID_IMAGE_FORMAT =
:invalid_image_format
INVALID_BASE64_IMAGE =
:invalid_base64_image
INVALID_IMAGE_URL =
:invalid_image_url
IMAGE_TOO_LARGE =
:image_too_large
IMAGE_TOO_SMALL =
:image_too_small
IMAGE_PARSE_ERROR =
:image_parse_error
IMAGE_CONTENT_POLICY_VIOLATION =
:image_content_policy_violation
INVALID_IMAGE_MODE =
:invalid_image_mode
IMAGE_FILE_TOO_LARGE =
:image_file_too_large
UNSUPPORTED_IMAGE_MEDIA_TYPE =
:unsupported_image_media_type
EMPTY_IMAGE_FILE =
:empty_image_file
FAILED_TO_DOWNLOAD_IMAGE =
:failed_to_download_image
IMAGE_FILE_NOT_FOUND =
:image_file_not_found

Class 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, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/responses/response_error.rb', line 54