13 lines
303 B
C++
13 lines
303 B
C++
#include "Errors.hpp"
|
|
|
|
namespace nb {
|
|
|
|
const std::string Error::type = "Error";
|
|
const ErrorCodeMap Error::ErrorMessages = {
|
|
{ErrorCodes::GENERAL, "General std::exception."},
|
|
{ErrorCodes::UNDEFINED, "Undefined / general error."},
|
|
{ErrorCodes::BADERRORCODE, "Unrecognized error code."}
|
|
};
|
|
|
|
}
|