Refactor this using a single `List` of exceptions