. . "a function which is called after catching an exception which closes open files, creates an error log, and notifies the user." . .