Exception: RobotLab::ToolError
- Defined in:
- lib/robot_lab/error.rb
Overview
Raised when a tool fails during execution, including inside a Ractor worker.
Instance Attribute Summary collapse
-
#retryable ⇒ Object
readonly
Returns the value of attribute retryable.
Instance Method Summary collapse
-
#initialize(message = nil, retryable: nil) ⇒ ToolError
constructor
A new instance of ToolError.
Constructor Details
#initialize(message = nil, retryable: nil) ⇒ ToolError
Returns a new instance of ToolError.
88 89 90 91 |
# File 'lib/robot_lab/error.rb', line 88 def initialize( = nil, retryable: nil) @retryable = retryable super() end |
Instance Attribute Details
#retryable ⇒ Object (readonly)
Returns the value of attribute retryable.
86 87 88 |
# File 'lib/robot_lab/error.rb', line 86 def retryable @retryable end |