28 lines
748 B
C++
28 lines
748 B
C++
#include <NBCore/Utils.hpp>
|
|
|
|
namespace nb {
|
|
|
|
/* using ObjectManagerCodes = ObjectManagerError::Codes;
|
|
const std::string ObjectManagerError::type = "nb::ObjectManagerError";
|
|
const ErrorCodeMap ObjectManagerError::ErrorMessages({
|
|
{ObjectManagerCodes::UNDEFINED, "Error"},
|
|
{
|
|
ObjectManagerCodes::NO_MANAGER,
|
|
"Attempting to create object lock without lock manager"
|
|
},
|
|
{
|
|
ObjectManagerCodes::MANAGER_MISMATCH,
|
|
"Attempting to delete object lock from mismatched lock manager"
|
|
},
|
|
{
|
|
ObjectManagerCodes::LOCK_OVERFLOW,
|
|
"Too many object locks allocated"
|
|
},
|
|
{
|
|
ObjectManagerCodes::BAD_THREAD,
|
|
"Attempting operation from a bad thread"
|
|
}
|
|
}); */
|
|
|
|
}; // namespace nb
|