31 #include "GammaLib.hpp"
32 #include "GCTALib.hpp"
76 catch (std::exception &e) {
79 std::string message = e.what();
80 std::string signal =
"*** ERROR encounterted in the execution of "+
81 tool->name()+
". Run aborted ...";
84 tool->log << signal << std::endl;
85 tool->log << message << std::endl;
88 std::cout << signal << std::endl;
89 std::cout << message << std::endl;
109 std::string signal =
"*** ERROR encounterted in the execution of "+
110 name+
". Run aborted ...";
113 std::cout << signal << std::endl;
114 std::cout << message << std::endl;
Support function definitions.
void report_ctool_failure(const std::string &name, const std::string &message)
Report ctool failure.
int execute_ctool(ctool *tool)
Execute ctool.