Working error system I believe
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
|
||||
namespace nb {
|
||||
|
||||
// class Error
|
||||
|
||||
const std::string Error::type = "Error";
|
||||
const ErrorCodeMap Error::ErrorMessages = ErrorCodeMap{
|
||||
const ErrorCodeMap Error::ErrorMessages = {
|
||||
{ErrorCodes::GENERAL, "General std::exception."},
|
||||
{ErrorCodes::UNDEFINED, "Undefined / general error."},
|
||||
{ErrorCodes::BADERRORCODE, "Unrecognized error code."}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user