| 216 | } |
| 217 | |
| 218 | std::string printException(std::exception const& e, bool fullStacktrace) { |
| 219 | std::ostringstream os; |
| 220 | printException(os, e, fullStacktrace); |
| 221 | return os.str(); |
| 222 | } |
| 223 | |
| 224 | void printException(std::ostream& os, std::exception const& e, bool fullStacktrace) { |
| 225 | if (auto starException = as<StarException>(&e)) |