From ce68fba2d357ef7b883e7794dfee5dbe2e667bd0 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Thu, 29 Dec 2016 07:58:47 +0100 Subject: [PATCH] error-messages: fixed typo --- src/json-validator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json-validator.cpp b/src/json-validator.cpp index 4977ee1..84f6e21 100644 --- a/src/json-validator.cpp +++ b/src/json-validator.cpp @@ -377,7 +377,7 @@ void json_validator::validate(json &instance, const json &schema_, const std::st validate(instance, s, name); count++; } catch (std::exception &e) { - sub_schema_err << " one schema for failed because: " << e.what() << "\n"; + sub_schema_err << " one schema failed because: " << e.what() << "\n"; if (combine_logic == allOf) throw std::out_of_range("At least one schema has failed for " + name + " where allOf them were requested.\n" + sub_schema_err.str());