aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-02 16:57:10 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-02 16:57:10 -0700
commit3949f1171084c2e1cfe43f638857ea0e0f8f246d (patch)
tree5699ddce355497cbb6890e9c55013d64e7cfc9d8 /docs
parent738ac5a8e986dbba472232711be7fae804a01576 (diff)
downloadcryptography-3949f1171084c2e1cfe43f638857ea0e0f8f246d.tar.gz
cryptography-3949f1171084c2e1cfe43f638857ea0e0f8f246d.tar.bz2
cryptography-3949f1171084c2e1cfe43f638857ea0e0f8f246d.zip
Changed excpetion name based on feedback from dreid
Diffstat (limited to 'docs')
-rw-r--r--docs/exceptions.rst2
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst8
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/exceptions.rst b/docs/exceptions.rst
index b391e620..6ac11b3c 100644
--- a/docs/exceptions.rst
+++ b/docs/exceptions.rst
@@ -3,7 +3,7 @@ Exceptions
.. currentmodule:: cryptography.exceptions
-.. class:: NoSuchAlgorithm
+.. class:: UnsupportedAlgorithm
This is raised when a backend doesn't support the requested algorithm (or
combination of algorithms).
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 48bad928..c1c8d247 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -43,8 +43,8 @@ where the encrypter and decrypter both use the same key.
provider.
If the backend doesn't support the requested combination of ``cipher``
- and ``mode`` a :class:`cryptography.exceptions.NoSuchAlgorithm` will
- be raised.
+ and ``mode`` an :class:`cryptography.exceptions.UnsupportedAlgorithm`
+ will be raised.
.. method:: decryptor()
@@ -53,8 +53,8 @@ where the encrypter and decrypter both use the same key.
provider.
If the backend doesn't support the requested combination of ``cipher``
- and ``mode`` a :class:`cryptography.exceptions.NoSuchAlgorithm` will
- be raised.
+ and ``mode`` an :class:`cryptography.exceptions.UnsupportedAlgorithm`
+ will be raised.
.. currentmodule:: cryptography.hazmat.primitives.interfaces