jpmckinney / validictory

🎓 deprecated general purpose python data validator
Other
240 stars 57 forks source link

Add erroneous additional key to error message #24

Closed Olivia5k closed 12 years ago

Olivia5k commented 12 years ago

Extends the error message raised by validate_additionalProperties() when an additional unallowed property is found, by adding the erroneous key to the error message. This helps give the user a hint of what actually went wrong.