An Exception Handler is code that stipulates what a program will do when an anomalous event (i.e., Exception) disrupts the normal flow of that program’s instructions. An Exception is an unplanned event that occurs while a program is executing and disrupts the flow of its instructions.
Source: https://www.theserverside.com/definition/exception-handler