23 #define IMPLEMENT(x,y) std::string x () { return ::strerror( errno = y ); }
25 namespace DD4hep {
namespace Errors {
IMPLEMENT(noPermission, EPERM) IMPLEMENT(noEntry
std::string noPermission()
System error string for EPERM. Sets errno accordingly.
std::string cancelled()
System error string for ECANCELED. Sets errno accordingly.
std::string noKey()
System error string for ENOKEY. Sets errno accordingly.
std::string noSys()
System error string for ENOSYS. Sets errno accordingly.
std::string invalidArg()
System error string for EINVAL. Sets errno accordingly.
std::string ioError()
System error string for EIO. Sets errno accordingly.
std::string noEntry()
System error string for ENOENT. Sets errno accordingly.
std::string linkRange()
System error string for ELNRNG. Sets errno accordingly.