| 360 | } |
| 361 | |
| 362 | std::string print_error(error_code const& ec) |
| 363 | { |
| 364 | if (!ec) return {}; |
| 365 | std::stringstream ret; |
| 366 | ret << "ERROR: (" << ec.category().name() << ":" << ec.value() << ") " |
| 367 | << ec.message(); |
| 368 | return ret.str(); |
| 369 | } |
| 370 | |
| 371 | } |
no test coverage detected