From e9da541a42fc44afb6b62389c7699f29ff65f7e6 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 7 Aug 2010 15:17:25 +0200 Subject: [PATCH] [entropy.exceptions] add SecurityError exception --- libraries/entropy/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/entropy/exceptions.py b/libraries/entropy/exceptions.py index 6240c9582..15a67afce 100644 --- a/libraries/entropy/exceptions.py +++ b/libraries/entropy/exceptions.py @@ -32,6 +32,9 @@ class EntropyException(Exception): return self.value return repr(self.value) +class SecurityError(EntropyException): + """ Security related error """ + class CorruptionError(EntropyException): """Corruption indication"""