Exception: ReveAI::ServerError

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

Overview

Raised on 5xx server error responses.

Indicates an internal server error on the Reve API side. These are typically transient and can be retried.

Examples:

# Server error
client.images.create(prompt: "A cat")
# => ReveAI::ServerError: Internal server error

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