exceptions.py 306 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
'''
Exceptions module contains exception classes specific to signup module
'''


class SignUpError(Exception):
    '''
    SignUpError class can be used to raise exception related to
    User's imput
    '''
    def __init__(self, message):
        self.message = message
        super().__init__(message)