MCPcopy Create free account
hub / github.com/TheHPXProject/hpx / get_message

Method get_message

libs/core/errors/src/error_code.cpp:261–275  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

259
260 ///////////////////////////////////////////////////////////////////////////
261 std::string error_code::get_message() const
262 {
263 if (exception_)
264 {
265 try
266 {
267 std::rethrow_exception(exception_);
268 }
269 catch (std::exception const& be)
270 {
271 return be.what();
272 }
273 }
274 return get_error_what(*this); // provide at least minimal error text
275 }
276
277 ///////////////////////////////////////////////////////////////////////////
278 error_code::error_code(error_code const& rhs)

Callers 7

find_counterMethod · 0.45
resolve_hostnameFunction · 0.45
connect_beginFunction · 0.45
accept_beginFunction · 0.45
thread_funcMethod · 0.45
hpx_mainFunction · 0.45

Calls 3

rethrow_exceptionFunction · 0.85
get_error_whatFunction · 0.70
whatMethod · 0.45

Tested by

no test coverage detected