| 37 | class custom_error_handler : public nlohmann::json_schema::basic_error_handler |
| 38 | { |
| 39 | void error(const nlohmann::json::json_pointer &ptr, const json &instance, const std::string &message) override |
| 40 | { |
| 41 | nlohmann::json_schema::basic_error_handler::error(ptr, instance, message); |
| 42 | std::cerr << "ERROR: '" << ptr << "' - '" << instance << "': " << message << "\n"; |
| 43 | } |
| 44 | }; |
| 45 | |
| 46 | int main(int argc, char *argv[]) |
nothing calls this directly
no outgoing calls
no test coverage detected