mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-12 10:13:51 +01:00
Fix exclusiveMaximum and exclusiveMinimum error messages
This commit is contained in:
parent
6cc4cddc96
commit
4897d102bd
@ -1631,7 +1631,7 @@ private:
|
||||
constraints::MaximumConstraint makeMaximumConstraintExclusive(const AdapterType &node)
|
||||
{
|
||||
if (!node.maybeDouble()) {
|
||||
throwRuntimeError("Expected numeric value for maximum constraint.");
|
||||
throwRuntimeError("Expected numeric value for exclusiveMaximum constraint.");
|
||||
}
|
||||
|
||||
constraints::MaximumConstraint constraint;
|
||||
@ -1763,7 +1763,7 @@ private:
|
||||
constraints::MinimumConstraint makeMinimumConstraintExclusive(const AdapterType &node)
|
||||
{
|
||||
if (!node.maybeDouble()) {
|
||||
throwRuntimeError("Expected numeric value for minimum constraint.");
|
||||
throwRuntimeError("Expected numeric value for exclusiveMinimum constraint.");
|
||||
}
|
||||
|
||||
constraints::MinimumConstraint constraint;
|
||||
|
Loading…
Reference in New Issue
Block a user