When to use: Case vs if

If this is the case, a case could be made for if. Exception to the rule: when the else case raises. You have to try yourself.