summaryrefslogtreecommitdiff
path: root/internal/repl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 16:45:15 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 16:45:15 +0200
commitf2b5fc1329190dbe688cedb973154ecacdc08143 (patch)
tree6c5c2c337bdbd2e8ee7b75565085e2990f6fcf41 /internal/repl
parente56122a197c2af4c97b4e43bce9ad5746f520d40 (diff)
refactor: Add error wrapping with %w where appropriate
- Updated operator registration in rpn/operations.go: - registerStandardOperator now wraps handler errors with operator name context - registerCommandOperator now wraps handler errors with operator name context - registerHyperOperator now wraps handler errors with operator name context - Updated Parse() in calculator/calculator.go: - Now wraps registry.parse() errors with context about the input - Returns a more descriptive error when parsing fails All tests pass and the binary builds and runs correctly.
Diffstat (limited to 'internal/repl')
0 files changed, 0 insertions, 0 deletions