aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-03-26 17:44:14 +0000
committerAlex Stapleton <alexs@prol.etari.at>2014-03-27 07:31:12 +0000
commitf33ccfcc8e611359a65235d72423fc9c62b438da (patch)
treebbe03fb6fac645b1f5001d65f27436981575a279
parent112963e296aadfdeaa4e2624c3b81b6b8c726a06 (diff)
downloadcryptography-f33ccfcc8e611359a65235d72423fc9c62b438da.tar.gz
cryptography-f33ccfcc8e611359a65235d72423fc9c62b438da.tar.bz2
cryptography-f33ccfcc8e611359a65235d72423fc9c62b438da.zip
Add additional reason tags
-rw-r--r--cryptography/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cryptography/exceptions.py b/cryptography/exceptions.py
index 8825d3b4..86082e4a 100644
--- a/cryptography/exceptions.py
+++ b/cryptography/exceptions.py
@@ -16,6 +16,9 @@ from __future__ import absolute_import, division, print_function
class _Reasons(object):
BACKEND_MISSING_INTERFACE = object()
+ UNSUPPORTED_HASH = object()
+ UNSUPPORTED_CIPHER = object()
+ UNSUPPORTED_PADDING = object()
class UnsupportedAlgorithm(Exception):