32 info() << stars <<
endmsg ;
34 for(
const auto& error : m_counters ) {
36 <<
" #times " << error.second
37 <<
" GSL code " << error.first.code
38 <<
" Message '" << error.first.reason <<
"'" 39 <<
" File '" << error.first.file <<
"'" 40 <<
" Line " << error.first.line <<
endmsg ;
42 info() << stars <<
endmsg ;
61 ++m_counters[ error ];
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)
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.