diff options
author | Julian Berman <Julian@GrayVines.com> | 2013-02-16 23:59:03 -0500 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2013-02-16 23:59:03 -0500 |
commit | 0fb2bc6f96c4be1d0b46ce464a2b6a818f73d4dc (patch) | |
tree | d07e6a6f80d22ca18b325169ea804d0dd4c6d38c /docs/creating.rst | |
parent | 701b2ecfcd579e65bddbf51e2346c2fb212e46f0 (diff) | |
download | jsonschema-0fb2bc6f96c4be1d0b46ce464a2b6a818f73d4dc.tar.gz |
Remove ValidationError too.
Diffstat (limited to 'docs/creating.rst')
-rw-r--r-- | docs/creating.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/creating.rst b/docs/creating.rst index e5ded7f..ba1d417 100644 --- a/docs/creating.rst +++ b/docs/creating.rst @@ -7,3 +7,11 @@ Creating or Extending Validators .. currentmodule:: jsonschema .. autofunction:: validates + + +Creating Validation Errors +-------------------------- + +Any validating function that recurses into an instance (e.g. ``properties`` or +``items``) must append to the :exc:`ValidationError.path` attribute of the +error in order to properly maintain where in the instance the error occurred. |