Revision 903ce7dc snf-astakos-app/astakos/im/functions.py

b/snf-astakos-app/astakos/im/functions.py
864 864

  
865 865
def qh_release_pending_app(user):
866 866
    register_pending_apps(user, -1)
867

  
868

  
869
class SendMailError(Exception):
870
    pass
871

  
872

  
873
class SendFeedbackError(SendMailError):
874
    def __init__(self):
875
        self.message = _(astakos_messages.FEEDBACK_SEND_ERR)
876
        super(SendFeedbackError, self).__init__()
877

  
878

  
879
class ChangeEmailError(SendMailError):
880
    def __init__(self):
881
        self.message = _(astakos_messages.CHANGE_EMAIL_SEND_ERR)
882
        super(ChangeEmailError, self).__init__()

Also available in: Unified diff