| 18 | } |
| 19 | |
| 20 | std::string common::demangle(const char *name) { |
| 21 | std::string str = boost::core::demangle(name); |
| 22 | boost::replace_all(str, "cn::", ""); |
| 23 | boost::replace_all(str, "api::walletd::", ""); |
| 24 | boost::replace_all(str, "api::cnd::", ""); |
| 25 | boost::replace_all(str, "crypto::", ""); |
| 26 | return str; |
| 27 | } |
| 28 | |
| 29 | std::string common::what(const std::exception &e) { return what_impl(e, 0); } |
nothing calls this directly
no outgoing calls
no test coverage detected