Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate RPC errors and provide some information from SDK #38

Open
Antiglobalist opened this issue May 10, 2024 · 1 comment
Open

Validate RPC errors and provide some information from SDK #38

Antiglobalist opened this issue May 10, 2024 · 1 comment

Comments

@Antiglobalist
Copy link

🌟 Feature Request

Expand the protocol for interaction with the wallet. To be able to handle errors
Now, if you send invalid data, the SDK crashes

📝 Description

At the moment it is difficult to understand why the error occurred. For example, if I make a transaction for an amount greater than the balance, I receive the following error:
image

🖼️ Mockups/Examples

image
Where sendAmount exceeds wallet balance

@petarTxFusion
Copy link
Contributor

Thank you for your suggestion. We recognize the importance of improving our error handling and are planning to address this in an upcoming refactor. We will make sure to notify you once these changes have been implemented.

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

No branches or pull requests

2 participants