Exception: ReveAI::UnprocessableEntityError

Inherits:
APIError
  • Object
show all
Defined in:
lib/reve_ai/errors.rb

Overview

Raised on 422 Unprocessable Entity responses.

Indicates the inputs could not be understood or processed.

Examples:

# Invalid reference image format
client.images.edit(edit_instruction: "...", reference_image: "not-valid-base64")
# => ReveAI::UnprocessableEntityError: The inputs could not be understood

Instance Attribute Summary

Attributes inherited from APIError

#body, #headers, #status

Method Summary

Methods inherited from APIError

#error_code, #initialize, #request_id

Constructor Details

This class inherits a constructor from ReveAI::APIError