exception handler

noun

A software mechanism that manages the response to an exception. The manner in which an exception is handled might change the program flow and require specialized programming.