DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Namespaces | Macros | Functions
Errors.cpp File Reference
#include <DD4hep/Errors.h>
#include <cerrno>
#include <cstring>

Go to the source code of this file.

Namespaces

 dd4hep
 Namespace for the AIDA detector description toolkit.
 
 dd4hep::Errors
 Utility namespace: Errors.
 

Macros

#define IMPLEMENT(x, y)   std::string x () { return ::strerror( errno = y ); }
 

Functions

 dd4hep::Errors::IMPLEMENT (noPermission, EPERM) IMPLEMENT(noEntry
 
ENOENT dd4hep::Errors::IMPLEMENT (ioError, EIO) IMPLEMENT(invalidArg
 
ENOENT EINVAL dd4hep::Errors::IMPLEMENT (noSys, ENOSYS) IMPLEMENT(cancelled
 
ENOENT EINVAL ECANCELED dd4hep::Errors::IMPLEMENT (linkRange, ELNRNG) IMPLEMENT(noKey
 

Macro Definition Documentation

◆ IMPLEMENT

#define IMPLEMENT (   x,
 
)    std::string x () { return ::strerror( errno = y ); }

Definition at line 23 of file Errors.cpp.