summaryrefslogtreecommitdiff
path: root/internal/repl/repl_test.go
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
commit86286ebe61c5bd0f88689d5d6155f09cc4879821 (patch)
tree87e33c2be0f4c0ad0e3245195d7525dcfced05b6 /internal/repl/repl_test.go
parent6553891403e221134028dbdec3ce3101bf97cdfc (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/repl_test.go')
0 files changed, 0 insertions, 0 deletions