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

[master ticket] Improve error handling #9485

Open
1 of 17 tasks
ryanhamley opened this issue Mar 31, 2020 · 0 comments
Open
1 of 17 tasks

[master ticket] Improve error handling #9485

ryanhamley opened this issue Mar 31, 2020 · 0 comments

Comments

@ryanhamley
Copy link
Contributor

ryanhamley commented Mar 31, 2020

Motivation

There are quite a few open tickets that deal with a need to improve error handling in GL JS. These fall into several categories ranging from adding more specific detail to existing errors to adding new errors to better style validation. The goal of this ticket is to summarize the existing issues into categories and drive discussion of general improvements and refactors to error handling.

Better Error Messages

Better Error Handling

Update Error Type

Emit New Error

Validation

Better Docs

The below sections are TBD
NOTES:

  • should all possible errors be routed through GL JS Error class?
  • what are the performance concerns of try/catch blocks?
  • would we have to wrap every conceivable browser call?

Design Alternatives

Design

Mock-Up

Concepts

Implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants