Standardize error handling with specific exit codes#247
Standardize error handling with specific exit codes#247ayushman1210 wants to merge 14 commits intoPecanProject:masterfrom
Conversation
|
Hi @dlebauer |
Alomir
left a comment
There was a problem hiding this comment.
Looks good, thanks for cleaning up the code! (One minor suggestion to change)
Co-authored-by: Mike Longfritz <Mike.Longfritz@gmail.com>
|
Hi @Alomir , |
|
Also, the sipnet.out files should not be deleted |
Description:
Error handling uses inconsistent patterns:
exit(1)(generic)exit(EXIT_CODE_*)(specific error codes)Location: At various places in the codebase
Example from
modelParams.c:Changes
Standardize on using specific exit codes with error messages: