course_os icon indicating copy to clipboard operation
course_os copied to clipboard

Standarize return codes

Open fayalalebrun opened this issue 4 years ago • 1 comments

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?

fayalalebrun avatar Feb 20 '21 16:02 fayalalebrun

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

jdonszelmann avatar Feb 20 '21 19:02 jdonszelmann