checkSwitchOtherwise
Checks if every switch
statement has a matching
otherwise
section. Defining an
otherwise
section improves readability by
clearly showing what happens when none of the
case
's are triggered. It also allows for
defining error messages if required.
Exemption tag: %@ok<SWOTH>