#include"check_error.h"#include <error.h>#include <errno.h>#include <stdlib.h>voidcheck_error(const char*filename,const unsigned int linenum){if(errno)error_at_line(EXIT_FAILURE, errno, filename, linenum,"An error has been detected within the application.");return;}