summaryrefslogtreecommitdiff
path: root/docs/source/pyasn1/contents.rst
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2019-07-13 11:09:28 +0200
committerIlya Etingof <etingof@gmail.com>2019-07-13 11:09:28 +0200
commite1500c60c0a15a641d5ee834f792fd0f2167c8b8 (patch)
tree3b0330806b1b86f9d17ca0306f04b3e358bda68d /docs/source/pyasn1/contents.rst
parent4b24fcb98a21a6259ab1b71cd46f382401fad508 (diff)
downloadpyasn1-git-e1500c60c0a15a641d5ee834f792fd0f2167c8b8.tar.gz
Add exception classes documentation
Also fix references to exception objects in other docstrings.
Diffstat (limited to 'docs/source/pyasn1/contents.rst')
-rw-r--r--docs/source/pyasn1/contents.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/source/pyasn1/contents.rst b/docs/source/pyasn1/contents.rst
index 474bbff..554ebe9 100644
--- a/docs/source/pyasn1/contents.rst
+++ b/docs/source/pyasn1/contents.rst
@@ -212,3 +212,16 @@ implemented in pyasn1.
/pyasn1/codec/cer/contents
/pyasn1/codec/der/contents
/pyasn1/codec/native/contents
+
+Exceptions
+----------
+
+Operations on PyASN1 schema and value objects might cause errors. These
+errors are manifested to the caller in form of Python exceptions.
+
+The exception hierarchy is as follows (ordered from least specific).
+
+.. toctree::
+ :maxdepth: 2
+
+ /pyasn1/error/contents