Updated exception

This commit is contained in:
Brad Arant committed 2023-03-10 12:55:08 -08:00
1 parent 2a8cfcee2a
commit b873bbf164
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -3,13 +3,14 @@
#include <string.h>
#include <string>
#include <errno.h>
namespace coreutils {
class Exception {
public:
Exception(std::string text, std::string file = __FILE__, int line = __LINE__, int errorNumber = -1);
Exception(std::string text, std::string file = __FILE__, int line = __LINE__, int errorNumber = errno);
std::string className;
std::string file;