template <typename Exception>
std::exception_ptr get_exception(
    const Exception& e,
    const std::string& func = "<unknown>",
    const std::string& file = "<unknown>",
    long line = -1,
    const std::string& auxinfo = "")

Declared at: libs/pika/errors/include/pika/errors/throw_exception.hpp:41

Parameters

const Exception& e
const std::string& func = "<unknown>"
const std::string& file = "<unknown>"
long line = -1
const std::string& auxinfo = ""