Commit ae3ce23d authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[cap/bank] add new add recipient exception for invalid otp

parent 9fe0d851
......@@ -45,7 +45,7 @@ __all__ = [
'RecipientNotFound', 'AddRecipientError', 'AddRecipientBankError', 'AddRecipientTimeout',
'AddRecipientStep', 'RecipientInvalidIban', 'RecipientInvalidLabel',
'AddRecipientStep', 'RecipientInvalidIban', 'RecipientInvalidLabel', 'RecipientInvalidOTP',
'Rate', 'CapCurrencyRate',
......@@ -170,6 +170,10 @@ class RecipientInvalidLabel(AddRecipientError):
code = 'invalidLabel'
class RecipientInvalidOTP(AddRecipientError):
code = 'invalidOTP'
class BaseAccount(BaseObject, Currency):
Generic class aiming to be parent of :class:`Recipient` and
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment