Exception: RubyLLM::CancelledError

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

Overview

Raised when an in-flight chat operation is cancelled with Chat#cancel.

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Chat generation cancelled') ⇒ CancelledError

Creates an error for a cancelled chat operation.



81
82
83
# File 'lib/ruby_llm/error.rb', line 81

def initialize(message = 'Chat generation cancelled')
  super
end