![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODROOTACCESS_TOOLS_RETURNCHECK_H
8 #define XAODROOTACCESS_TOOLS_RETURNCHECK_H
26 #define RETURN_CHECK( CONTEXT, EXP ) \
28 const auto result = EXP; \
29 if( ! result.isSuccess() ) { \
30 ::Error( CONTEXT, XAOD_MESSAGE( "Failed to execute: %s" ), \
36 #endif // XAODROOTACCESS_TOOLS_RETURNCHECK_H