Exception: RubyLLM::CancelledError
- Inherits:
-
StandardError
- Object
- StandardError
- RubyLLM::CancelledError
- Defined in:
- lib/ruby_llm/error.rb
Overview
Raised when an in-flight chat operation is cancelled with Chat#cancel.
Instance Method Summary collapse
-
#initialize(message = 'Chat generation cancelled') ⇒ CancelledError
constructor
Creates an error for a cancelled chat operation.
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( = 'Chat generation cancelled') super end |