18 #ifndef EQFABRIC_ERRORREGISTRY_H
19 #define EQFABRIC_ERRORREGISTRY_H
21 #include <eq/fabric/api.h>
22 #include <eq/fabric/types.h>
23 #include <lunchbox/nonCopyable.h>
29 namespace detail {
class ErrorRegistry; }
51 EQFABRIC_API
const std::string&
getString(
const uint32_t error )
const;
54 EQFABRIC_API
void setString(
const uint32_t error,
55 const std::string& text );
58 EQFABRIC_API
void eraseString(
const uint32_t error );
60 EQFABRIC_API
bool isEmpty()
const;
63 detail::ErrorRegistry*
const _impl;
67 #endif // EQFABRIC_ERRORREGISTRY_H
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.
const std::string & getString(const uint32_t error) const
void eraseString(const uint32_t error)
Clear a given error code string.