Exception: RubyLLM::PaymentRequiredError

Inherits:
Error
  • Object
show all
Defined in:
lib/ruby_llm/error.rb

Overview

Raised for HTTP 402 responses when the provider account has a billing or quota problem.

Instance Attribute Summary

Attributes inherited from Error

#response

Class Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from RubyLLM::Error

Class Method Details

.default_messageObject

:nodoc:



151
152
153
# File 'lib/ruby_llm/error.rb', line 151

def self.default_message # :nodoc:
  'Payment required - please top up your account'
end