Exception: Xeno::Parked
Overview
Raised (internally) to park the turn: pending actions need human input. Never RubyLLM's cancel! — its cleanup destroys in-flight rows.
Instance Attribute Summary collapse
-
#actions ⇒ Object
readonly
Returns the value of attribute actions.
Instance Method Summary collapse
-
#initialize(message = "turn parked awaiting input", actions: []) ⇒ Parked
constructor
A new instance of Parked.
Constructor Details
#initialize(message = "turn parked awaiting input", actions: []) ⇒ Parked
Returns a new instance of Parked.
13 14 15 16 |
# File 'lib/xeno/errors.rb', line 13 def initialize( = "turn parked awaiting input", actions: []) super() @actions = actions end |
Instance Attribute Details
#actions ⇒ Object (readonly)
Returns the value of attribute actions.
11 12 13 |
# File 'lib/xeno/errors.rb', line 11 def actions @actions end |