Ah, ok.
So... you have to do the bubbling up manually if the caller cannot handle the early exit.
Maybe I'm missing something but it still feels like a solution that looks like exception but is inferior to them.
So... you have to do the bubbling up manually if the caller cannot handle the early exit.
Maybe I'm missing something but it still feels like a solution that looks like exception but is inferior to them.
I don't know if it's the best solution, but I can understand where they come from.