Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve error handling #7

Open
jonathan-mayer opened this issue Aug 1, 2024 · 0 comments
Open

Improve error handling #7

jonathan-mayer opened this issue Aug 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jonathan-mayer
Copy link
Member

Issue

Currently errors are handled by pre defined errors.New vars. This means that the value that caused the issue can't be shown to the user.

Problem to solve

There should be custom errors for those cases. They should also have custom values you can set to show the user the value / state that caused this issue.

Further details

Proposal

Implement some custom errors and replace the error vars with them.

Who can address the issue

Someone who has some experience in Go

Other links/references

@jonathan-mayer jonathan-mayer added the enhancement New feature or request label Aug 1, 2024
@jonathan-mayer jonathan-mayer changed the title Draft: Improve error handling Improve error handling Aug 8, 2024
@jon4skl jon4skl self-assigned this Aug 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants