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

Improve error feedback #60

Open
sohrab- opened this issue Aug 20, 2022 · 0 comments
Open

Improve error feedback #60

sohrab- opened this issue Aug 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sohrab-
Copy link
Member

sohrab- commented Aug 20, 2022

As a client app, we should not be doing aggressive error handling, as it will hide the behaviour of the chain and diminishes the value of being a true generalised client.

That said, any errors that are caused by how we code things, should be handled and the error messages should easily identify which field in which instruction has caused the issue.

  • Error messages, that include the field coordinates, should be links that scroll up to the offending field.
  • Offending fields should have an error style, i.e. Chakra's isInvalid red borders.
@sohrab- sohrab- added the enhancement New feature or request label Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant