Exception: Pikuri::Tool::Calculator::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Pikuri::Tool::Calculator::Error
- Defined in:
- lib/pikuri/tool/calculator.rb
Overview
Raised internally for anything calculate should hand back to the model as an “Error: …” observation rather than crash the agent loop: parse failures, division by zero, complex or non-finite results. The message always names the offending token or operands.