From f33ccfcc8e611359a65235d72423fc9c62b438da Mon Sep 17 00:00:00 2001 From: Alex Stapleton Date: Wed, 26 Mar 2014 17:44:14 +0000 Subject: Add additional reason tags --- cryptography/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) 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): -- cgit v1.2.3