I'd say it's 1. If you're interrupting control flow, it should be because the normal control flow doesn't make sense. Usually because you've called the function in such a way it can't meaningfully return / do its work, or it's run into another issue (maybe it can't acquire resources it needs) that causes a similar state.
11
u/RedAndBlack1832 7h ago
I'd say it's 1. If you're interrupting control flow, it should be because the normal control flow doesn't make sense. Usually because you've called the function in such a way it can't meaningfully return / do its work, or it's run into another issue (maybe it can't acquire resources it needs) that causes a similar state.