Exception: RubyLLM::ForbiddenError

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

Overview

Raised for HTTP 403 responses when the API key lacks permission for the requested resource.

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:



113
114
115
# File 'lib/ruby_llm/error.rb', line 113

def self.default_message # :nodoc:
  'Forbidden - you do not have permission to access this resource'
end