30 std::string build_prepend_identation(
int level)
35 for (
int i = 0; i < level; ++i)
46 std::cerr << build_prepend_identation(level) <<
"exception: " << e.what()
50 std::rethrow_if_nested(e);
52 catch (
const std::exception &e2)
58 std::cerr <<
"Unknown exception type." << std::endl;
64 ERROR(build_prepend_identation(level) <<
"exception: " << e.what());
67 std::rethrow_if_nested(e);
69 catch (
const std::exception &e2)
75 ERROR(
"Unknown exception type.");