Exception: RubyLLM::Contract::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby_llm/contract/errors.rb

Direct Known Subclasses

AdapterError, ContractError, InputError, ParseError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, details: nil) ⇒ Error

Returns a new instance of Error.



8
9
10
11
# File 'lib/ruby_llm/contract/errors.rb', line 8

def initialize(message = nil, details: nil)
  @details = details
  super(message)
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



6
7
8
# File 'lib/ruby_llm/contract/errors.rb', line 6

def details
  @details
end