malfunction routine

Noun

 * 1)  Any program or subroutine responsible for troubleshooting problems.