34 for (
const auto& error : m_counters ) {
35 AlgTool::error() <<
" #times " << error.second <<
" GSL code " << error.first.code <<
" Message '" 36 << error.first.reason <<
"'" 37 <<
" File '" << error.first.file <<
"'" 38 <<
" Line " << error.first.line <<
endmsg;
StatusCode handle(const GslError &error) const override
handle the GSL error
Helper class to represent GSL errors.
#define DECLARE_COMPONENT(type)
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
This class is used for returning status codes from appropriate routines.
void clear(STATE_TYPE _i=std::ios_base::failbit)
constexpr static const auto SUCCESS
Concrete GSL error handler It is just counts number of GSL errors.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.