Its working!!!

This commit is contained in:
Brad Arant committed 2021-08-11 21:37:48 -07:00
1 parent a3ba545c59
commit 1632a41b3e
5 files changed
+67 -59

No files matched your search

+4 -4
View File
@@ -2,16 +2,16 @@
#include "Log.h"
namespace coreutils {
Exception::Exception(std::string text, std::string file, int line, int errorNumber) {
this->text = text;
this->file = file;
this->line = line;
if(errorNumber == -1)
this->errorNumber = errno;
this->errorNumber = errno;
else
this->errorNumber = errorNumber;
this->errorNumber = errorNumber;
Log(LOG_EXCEPT) << text;
}