7 const char*
name()
const override {
return "IPartitionControl"; }
13 switch ( static_cast<IPartitionControl::Status>( code ) ) {
15 return "PARTITION_NOT_PRESENT";
17 return "PARTITION_EXISTS";
19 return "NO_ACTIVE_PARTITION";
The category assigned to a StatusCode.
virtual const char * name() const =0
Name of the category.
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