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 handling #3

Closed
mosheduminer opened this issue Jan 3, 2021 · 0 comments
Closed

Improve error handling #3

mosheduminer opened this issue Jan 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mosheduminer
Copy link
Member

Error handling is important, and it currently needs to be improved for better UI/UX in the svelte frontend (see here in brief).

We should throw custom defined error objects. These objects should contain a errorCode field (an enum of plain numbers), and provide handling functions that match the error code to produce a string error message, or to provide lower level information for application usage.

@mosheduminer mosheduminer added the enhancement New feature or request label Jan 3, 2021
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