27 namespace exception_detail
53 : _msg( std::move(msg_r) )
61 : _msg( std::move(msg_r) )
66 {
remember( std::move(history_r) ); }
69 : _msg( std::move(msg_r) )
70 {
remember( std::move(history_r) ); }
77 std::ostringstream str;
84 std::ostringstream str;
88 return _(str.str().c_str());
107 if ( &old_r !=
this )
117 if ( &old_r !=
this )
119 History & newh( old_r._history );
120 newh.push_front( old_r.asUserString() );
129 {
_history.push_front( std::move(msg_r) ); }
134 std::string history(
_(
"History:") );
135 std::ostringstream ret;
137 "", history+
"\n - ",
"\n - ",
"\n",
"" );
142 {
return str <<
_msg; }
155 {
return strErrno( errno_r, std::string(msg_r) ); }
160 return msg_r +=
strErrno( errno_r );
164 const char *
const prefix_r )
166 INT << where_r <<
" " << prefix_r <<
" " << excpt_r.
asUserHistory() << endl;
170 const char *
const prefix_r )
172 INT << where_r <<
" " << prefix_r <<
" exception of type " << typename_r << endl;