_exceptions.py
branchstable
changeset 5425 7c84e3f370de
parent 5423 e15abfdcce38
child 5426 0d4853a6e5ee
equal deleted inserted replaced
5421:8167de96c523 5425:7c84e3f370de
    63 
    63 
    64 class AuthenticationError(ConnectionError):
    64 class AuthenticationError(ConnectionError):
    65     """raised when when an attempt to establish a connection failed do to wrong
    65     """raised when when an attempt to establish a connection failed do to wrong
    66     connection information (login / password or other authentication token)
    66     connection information (login / password or other authentication token)
    67     """
    67     """
    68     def __init__(self, *args, **kwargs):
       
    69         super(AuthenticationError, self).__init__(*args)
       
    70         self.__dict__.update(kwargs)
       
    71 
    68 
    72 class BadConnectionId(ConnectionError):
    69 class BadConnectionId(ConnectionError):
    73     """raised when a bad connection id is given"""
    70     """raised when a bad connection id is given"""
    74 
    71 
    75 class UnknownEid(RepositoryError):
    72 class UnknownEid(RepositoryError):