rellermeyer / course_os

CS 439 course OS
BSD 3-Clause "New" or "Revised" License
38 stars 26 forks source link

Standarize return codes #72

Open fayalalebrun opened 3 years ago

fayalalebrun commented 3 years ago

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 commented 3 years ago

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