Exception: Durable::Llm::InsufficientQuotaError

Inherits:
Error
  • Object
show all
Defined in:
lib/durable/llm/errors.rb

Overview

Error raised when the account has insufficient quota or credits.

This occurs when the user’s account has exhausted its usage limits or doesn’t have enough credits for the requested operation.

Examples:

Handling insufficient quota errors

begin
  client.complete("Hello")
rescue Durable::Llm::InsufficientQuotaError => e
  puts "Insufficient quota: #{e.message}"
end