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

Standarize return codes #72

Open
fayalalebrun opened this issue Feb 20, 2021 · 1 comment
Open

Standarize return codes #72

fayalalebrun opened this issue Feb 20, 2021 · 1 comment

Comments

@fayalalebrun
Copy link
Collaborator

In #61 we used positive return codes as recoverable and negative error codes as not recoverable. Do you think this is the best way of handling errors, or what could be other good approaches?

@jdonszelmann
Copy link
Collaborator

You could instead use some kind of (global) error enum. I'm not sure if it's the best approach but it's an approach

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

No branches or pull requests

2 participants