-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error handling #381
Comments
#372 is related |
@brozorec given that we need to seriously refactor all error handling code and that both |
@ferostar @NikolaiYurchenko I created a list of possible errors categorized into 3 types: "User-input", "SDK-related" and "Transaction errors". I hope it encompasses most of the errors we can have and gives a better idea of how to handle them. You can find here a table that better visualizes the "Transaction errors": https://www.notion.so/Errors-ade48a1f62b04d059ec7be6f7b7896e3 User-input errorsThese are generally errors that should be managed exclusively in the UI. SDK errors
Transaction errors
|
The front end so far does a terrible job managing errors. Not just displaying them, but even handling them. We have months-old
TODOs
asking how to handle errors, sometimes just printing the value and sometimes also storing it inconsistently in the store. There was an issue created for handling rpc-related issues, but we need to think this through across the app.The text was updated successfully, but these errors were encountered: