Cleanup error handling code.