7 const char*
name()
const override {
return "IInterface"; }
13 switch ( static_cast<IInterface::Status>( code ) ) {
15 return "NO_INTERFACE";
17 return "VERSMISMATCH";
Requested interface is not available.
The category assigned to a StatusCode.
virtual const char * name() const =0
Name of the category.
Requested interface version is incompatible.
virtual bool isRecoverable(code_t code) const
Is code considered recoverable ?
#define STATUSCODE_ENUM_IMPL(...)
Assign a category to the StatusCode enum declared with STATUSCODE_ENUM_DECL( ENUM ) ...
static const Category & default_category() noexcept
Default Gaudi StatusCode category.
virtual std::string message(code_t code) const
Description for code within this category.
unsigned long code_t
type of StatusCode value