Exception: RubyLLM::BadRequestError

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

Overview

Raised for HTTP 400 responses when the request is invalid.

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:



105
106
107
# File 'lib/ruby_llm/error.rb', line 105

def self.default_message # :nodoc:
  'Invalid request - please check your input'
end