bank account existance exception
This commit is contained in:
@@ -11,6 +11,12 @@ class TokenBlackListedException(APIException):
|
||||
default_code = 'unauthorized'
|
||||
|
||||
|
||||
class BankAccountExistException(APIException):
|
||||
status_code = status.HTTP_403_FORBIDDEN
|
||||
default_detail = "اطلاعات بانکی وارد شده از قبل ثبت شده است" # noqa
|
||||
default_code = "اطلاعات بانکی وارد شده از قبل ثبت شده است" # noqa
|
||||
|
||||
|
||||
class OrganizationBankAccountException(APIException):
|
||||
""" if organization does not have bank account """
|
||||
|
||||
|
||||
Reference in New Issue
Block a user