Skip to content

feat(errors): standardize contract error taxonomy and client decoding strategy#250

Merged
Baskarayelu merged 2 commits intoRemitwise-Org:mainfrom
observerr411:feature/contract-error-standardization
Feb 25, 2026
Merged

feat(errors): standardize contract error taxonomy and client decoding strategy#250
Baskarayelu merged 2 commits intoRemitwise-Org:mainfrom
observerr411:feature/contract-error-standardization

Conversation

@observerr411
Copy link
Contributor

@observerr411 observerr411 commented Feb 25, 2026

  • Define top-level error categories: AUTH, VALIDATION, STATE, LIMIT, SYSTEM, INTEGRATION
  • Establish numeric ranges / mapping strategy for consistent classification
  • Map all existing contract errors and panics into the new taxonomy
  • Document category definitions and intended usage
  • Add client-side error decoding strategy to docs
  • Include example client error-handling snippet

This closes #225

@Baskarayelu Baskarayelu self-requested a review February 25, 2026 18:39
@Baskarayelu Baskarayelu merged commit 22c67c3 into Remitwise-Org:main Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants