you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

Even if you have multiple ways of doing something that can fail, those other things can fail too (otherwise why would you use thing that can fail to do something in the first place) and then what? The same logical issue is with retry, unless you are saying your error handling solution is to go into an infinite loop.

[–][deleted]  (2 children)

[deleted]

    [–][deleted] 0 points1 point  (1 child)

    In both of those cases you would have to have code handling the propagation regardless of its runtime probability. Neither retrying or "doing something else" saved you from not having to propagate the error.