Merge "Add credential encryption exception"

This commit is contained in:
Jenkins 2016-08-16 19:20:41 +00:00 committed by Gerrit Code Review
commit a3b6e7c951
1 changed files with 5 additions and 0 deletions

View File

@ -578,3 +578,8 @@ class TokenlessAuthConfigError(ValidationError):
class UnsupportedDriverVersion(UnexpectedError): class UnsupportedDriverVersion(UnexpectedError):
debug_message_format = _('%(driver)s is not supported driver version') debug_message_format = _('%(driver)s is not supported driver version')
class CredentialEncryptionError(Exception):
message_format = _("An unexpected error prevented the server "
"from accessing encrypted credentials.")