DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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

Definition at line 23 of file Errors.cpp.