Skip to content

feat(error-handling): add contract error mapping and improve user-fac… - #163

Merged
AlAfiz merged 1 commit into
Zakky-Fat:mainfrom
El-swaggerito:task
Apr 29, 2026
Merged

feat(error-handling): add contract error mapping and improve user-fac…#163
AlAfiz merged 1 commit into
Zakky-Fat:mainfrom
El-swaggerito:task

Conversation

@El-swaggerito

Copy link
Copy Markdown
Contributor

closes #84
…ing messages

  • Add PrincessError enum and PrincessErrorMessage mapping to types package
  • Update error.tsx to display custom contract error messages when available
  • Implement _parseSorobanError method in sorobanClient to decode contract errors
  • Replace generic panic messages with specific error codes in Rust contract
  • Export missing transaction building functions for backward compatibility

…ing messages

- Add PrincessError enum and PrincessErrorMessage mapping to types package
- Update error.tsx to display custom contract error messages when available
- Implement _parseSorobanError method in sorobanClient to decode contract errors
- Replace generic panic messages with specific error codes in Rust contract
- Export missing transaction building functions for backward compatibility
@drips-wave

drips-wave Bot commented Apr 29, 2026

Copy link
Copy Markdown

@El-swaggerito Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@AlAfiz
AlAfiz merged commit 6954aef into Zakky-Fat:main Apr 29, 2026
0 of 3 checks passed
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.

Soroban: Standardized Error Codes and Custom Traps

2 participants