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 #1

Open
alsoto25 opened this issue Jun 17, 2024 · 0 comments
Open

Improve Error Handling #1

alsoto25 opened this issue Jun 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@alsoto25
Copy link
Contributor

Description

While the repo already handles a lot of errors, I believe we could create a more descriptive error structure.

if (!field) throw new FieldNotFoundError()
if (!config) throw new EmptyConfigError()
@alsoto25 alsoto25 added the enhancement New feature or request label Jun 17, 2024
@alsoto25 alsoto25 self-assigned this Jun 17, 2024
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