| 158 | } |
| 159 | |
| 160 | void JSONPrinter::print_error(const std::exception &error, bool expected) |
| 161 | { |
| 162 | if (expected) |
| 163 | { |
| 164 | _expected_errors.emplace_back(error.what()); |
| 165 | } |
| 166 | else |
| 167 | { |
| 168 | _errors.emplace_back(error.what()); |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | void JSONPrinter::print_warning(const std::string &warning) |
| 173 | { |
no test coverage detected