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

Method error

src/json-validator.cpp:382–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 std::string message_;
381
382 void error(const json::json_pointer &ptr, const json &instance, const std::string &message) override
383 {
384 if (*this)
385 return;
386 error_ = true;
387 ptr_ = ptr;
388 instance_ = instance;
389 message_ = message;
390 }
391
392 operator bool() const { return error_; }
393};

Callers 15

validateMethod · 0.45
schema_refClass · 0.45
validateMethod · 0.45
validateMethod · 0.45
propagateMethod · 0.45
validateMethod · 0.45
is_validate_completeMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45
validateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected