Class ErrorHandler

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public nlohmann::json_schema::error_handler

Class Documentation

class ErrorHandler : public nlohmann::json_schema::error_handler

Public Functions

void error(const nlohmann::json::json_pointer &ptr, const nlohmann::json &instance, const std::string &message) final

Public Members

std::optional<Info> failure

Public Static Functions

static std::optional<Info> has_error(const nlohmann::json_schema::json_validator &validator, const nlohmann::json json)
struct Info

Public Members

nlohmann::json::json_pointer ptr
nlohmann::json instance
std::string message