aboutsummaryrefslogtreecommitdiffstats
path: root/docs/exceptions.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-13 13:26:24 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-13 13:26:24 -0800
commitc2cddd2b1f0bd935ed53ee49446e268d9bf874e7 (patch)
tree5ab21f260a23d74145662ece1c5c1b3917e28d63 /docs/exceptions.rst
parente0c1fe9991cb1e428d5179994940726baae899a0 (diff)
parent00fb12ae9d453e1c6db6a046ebf1f68000b44377 (diff)
downloadcryptography-c2cddd2b1f0bd935ed53ee49446e268d9bf874e7.tar.gz
cryptography-c2cddd2b1f0bd935ed53ee49446e268d9bf874e7.tar.bz2
cryptography-c2cddd2b1f0bd935ed53ee49446e268d9bf874e7.zip
Merge pull request #253 from dreid/hash-raise-after-finalize
raise an exception if you try to use a HashContext after finalize is called.
Diffstat (limited to 'docs/exceptions.rst')
-rw-r--r--docs/exceptions.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst
index 6ac11b3c..ab1b28fe 100644
--- a/docs/exceptions.rst
+++ b/docs/exceptions.rst
@@ -3,7 +3,13 @@ Exceptions
.. currentmodule:: cryptography.exceptions
+.. class:: AlreadyFinalized
+
+ This is raised when a context is used after being finalized.
+
+
.. class:: UnsupportedAlgorithm
This is raised when a backend doesn't support the requested algorithm (or
combination of algorithms).
+