4 ms·
Presumably one of these applies: * You have a sequence of steps, and only care about a general error condition occurring somewhere in range of those; in which
by eyelidlessness 3y ago
Presumably one of these applies:
* You have a sequence of steps, and only care about a general error condition occurring somewhere in range of those; in which case, it makes sense to abstract something to treat those steps as a unit and collect any error from that
* You don’t need to handle any errors directly, and wish to propagate them to the caller; in which case, doing so explicitly is better than not
* You should handle the errors; in which case, complaining about that doesn’t make much difference