summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2013-06-02 14:52:10 -0400
committerJulian Berman <Julian@GrayVines.com>2013-06-02 14:52:10 -0400
commitb4028556077920a810a945c440cd16bced7abffa (patch)
tree2677b7dc2ad99090639a72fa19591ae671b1f132
parentaf240fedd08f955863e09c8c3fb70ba2b21beefb (diff)
downloadjsonschema-b4028556077920a810a945c440cd16bced7abffa.tar.gz
Tables are good maybe.
-rw-r--r--docs/errors.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/errors.rst b/docs/errors.rst
index 3b78b9a..9f63c25 100644
--- a/docs/errors.rst
+++ b/docs/errors.rst
@@ -11,6 +11,25 @@ raised or returned, depending on which method or function is used.
The instance didn't properly validate under the provided schema.
+ The information carried by an error roughly breaks down into:
+
+ =============== ================= ========================
+ What Happened Why Did It Happen What Was Being Validated
+ =============== ================= ========================
+ :attr:`message` :attr:`context` :attr:`instance`
+
+ :attr:`cause` :attr:`path`
+
+ :attr:`schema`
+
+ :attr:`schema_path`
+
+ :attr:`validator`
+
+ :attr:`validator_value`
+ =============== ================= ========================
+
+
.. attribute:: message
A human readable message explaining the error.
@@ -167,6 +186,7 @@ easier debugging.
On instance[1]:
3
+
ErrorTrees
----------