39 const std::string text;
42 ErrorData _errors[] = {
43 { ERROR_EQPLY_MAPOBJECT_FAILED,
44 "Mapping data from application process failed" },
54 for(
size_t i=0; _errors[i].code != 0; ++i )
55 registry.
setString( _errors[i].code, _errors[i].text );
62 for(
size_t i=0; _errors[i].code != 0; ++i )
static EQFABRIC_API ErrorRegistry & getErrorRegistry()
EQFABRIC_API void eraseString(const uint32_t error)
Clear a given error code string.
The registry translating error codes to strings.
void exitErrors()
Clear eqPly-specific error codes.
EQFABRIC_API void setString(const uint32_t error, const std::string &text)
Set an error string for the given error code.
void initErrors()
Set up eqPly-specific error codes.