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

Function get_error_function_name

libs/core/errors/src/exception.cpp:463–470  ·  view source on GitHub ↗

Return the function name from which the exception was thrown.

Source from the content-addressed store, hash-verified

461
462 /// Return the function name from which the exception was thrown.
463 std::string get_error_function_name(hpx::exception_info const& xi)
464 {
465 std::string const* function = xi.get<hpx::detail::throw_function>();
466 if (function)
467 return *function;
468
469 return std::string();
470 }
471
472 /// Return the (source code) file name of the function from which the
473 /// exception was thrown.

Callers 3

test_transportFunction · 0.50
mainFunction · 0.50
hpx_mainFunction · 0.50

Calls

no outgoing calls

Tested by 2

test_transportFunction · 0.40
mainFunction · 0.40