Description
Difficulty: Expert
Type: Feature
Summary
Implement typed payment error classification for PocketPay SDK payment helpers.
Current Behaviour
Payment failures may surface as raw errors that are hard for applications to display or recover from.
Expected Behaviour
The SDK should classify validation, network, account, asset, fee, and submission failures into stable error categories.
Suggested Implementation
Create error categories, mapping utilities, payment integration, tests, fixtures, and docs.
Files or Areas Likely Affected
- src/payments/
- src/transactions/
- src/errors/
- src/diagnostics/
- tests/
- docs/
Acceptance Criteria
Additional Notes
This improves SDK reliability and review quality.
Description
Difficulty: Expert
Type: Feature
Summary
Implement typed payment error classification for PocketPay SDK payment helpers.
Current Behaviour
Payment failures may surface as raw errors that are hard for applications to display or recover from.
Expected Behaviour
The SDK should classify validation, network, account, asset, fee, and submission failures into stable error categories.
Suggested Implementation
Create error categories, mapping utilities, payment integration, tests, fixtures, and docs.
Files or Areas Likely Affected
Acceptance Criteria
Additional Notes
This improves SDK reliability and review quality.