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

Handle config validation errors #24

Open
filipecorrea opened this issue Sep 11, 2020 · 0 comments
Open

Handle config validation errors #24

filipecorrea opened this issue Sep 11, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@filipecorrea
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The config module (src/config) throws regular errors for validation errors:

throw new Error(`Config validation error: ${error.message}`)

Describe the solution you'd like
A ConfigValidationError could be used for a better error handling.

@filipecorrea filipecorrea added the enhancement New feature or request label Sep 11, 2020
@filipecorrea filipecorrea added this to the Next milestone Sep 11, 2020
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