| 32 | } |
| 33 | |
| 34 | void exceptionmessage(const char* what, const char * location) |
| 35 | { |
| 36 | auto trimmed = boost::trim_copy_if(std::string(what), boost::is_any_of("\r\n\t")); |
| 37 | errormessage(stringbuilder() << "Exception '" << trimmed << "' occured at " << location, "Exception occurred"); |
| 38 | } |
| 39 | |
| 40 | void exceptionmessage(const std::exception& ex, const char * location) |
| 41 | { |
nothing calls this directly
no test coverage detected