[entropy.exceptions] add SecurityError exception

This commit is contained in:
Fabio Erculiani
2010-08-07 15:17:25 +02:00
parent eec9d6cdd1
commit e9da541a42
+3
View File
@@ -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"""