|
|
|
|
|
by yorwba
2635 days ago
|
|
> You can't possibly know instantly all the exceptions to handle for a function (given it calls other functions w/ exceptions), You also can't possibly know all error codes to handle for a function if it calls other functions returning error codes, unless a type system enforces that for you. In which case you should compare to a language where the type system enforces that all exceptions are handled. |
|
You aren't using error codes or documenting correctly. You get a choice whether the error propogates upstream