aboutsummaryrefslogtreecommitdiff
path: root/exceptions.py
blob: ca68547154699a07a50b38869f6adc0945f175be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class InvalidAmountError(ValueError):
    '''Raise when some member is already registered'''

class AlreadyRegisteredError(Exception):
    '''Raise when some member is already registered'''

class NotRegisteredError(Exception):
    '''Raise when the sender is not registered'''

class InvalidArgumentError(Exception):
    '''Raise when some cmd is called with wrong arguments'''

class NotAllowedError(Exception):
    '''Raise when some member is already registered'''