Description
contractErrors.ts parses Soroban error codes into human-readable messages, but has no unit tests. A regression here would show raw error codes to users.
Tasks
Acceptance Criteria
- All known error codes produce the expected string
- Unknown codes return a non-empty fallback
- No test throws an unhandled exception
Description
contractErrors.tsparses Soroban error codes into human-readable messages, but has no unit tests. A regression here would show raw error codes to users.Tasks
frontend/src/test/contractErrors.test.tsAcceptance Criteria