Exception: RubyLLM::ServiceUnavailableError

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

Overview

Raised for HTTP 502, 503, and 504 responses when the provider is temporarily unavailable.

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:



173
174
175
# File 'lib/ruby_llm/error.rb', line 173

def self.default_message # :nodoc:
  'API server unavailable - please try again later'
end