Merge "Add proper support for deprecation messages"
This commit is contained in:
@@ -123,6 +123,10 @@ class CinderException(Exception):
|
||||
super(CinderException, self).__init__(message)
|
||||
|
||||
|
||||
class DeprecatedConfig(CinderException):
|
||||
message = _("Fatal call to deprecated config") + " %(msg)s"
|
||||
|
||||
|
||||
class DecryptionFailure(CinderException):
|
||||
message = _("Failed to decrypt text")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user