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 )
The registry translating error codes to strings.
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.
void exitErrors()
Clear eqPly-specific error codes.
static ErrorRegistry & getErrorRegistry()
void eraseString(const uint32_t error)
Clear a given error code string.