MCPcopy Create free account
hub / github.com/pboettch/json-schema-validator / error

Method error

src/json-validator.cpp:1444–1447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1442class throwing_error_handler : public error_handler
1443{
1444 void error(const json::json_pointer &ptr, const json &instance, const std::string &message) override
1445 {
1446 throw std::invalid_argument(std::string("At ") + ptr.to_string() + " of " + instance.dump() + " - " + message + "\n");
1447 }
1448};
1449
1450} // namespace

Callers

nothing calls this directly

Calls 2

stringClass · 0.85
to_stringMethod · 0.80

Tested by

no test coverage detected