def __init__(self, code, fault="", details=""): ClientError.__init__(self, ClientErrorType.AUTHENTICATION, code) self._fault = fault self._details = details
def __init__(self, error, done, failed): ClientError.__init__(self, error._type, error._code) self._error = error self.done = done self.failed = failed
def __init__(self, code, fault="", details=""): ClientError.__init__(self, ClientErrorType.ADDRESSBOOK, code) self._fault = fault self._details = details
def __init__(self, message): ClientError.__init__(self, ClientErrorType.UNKNOWN, P2PError.UNKNOWN) self.message = message
def __init__(self, code): ClientError.__init__(self, ClientErrorType.NETWORK, code)
def __init__(self, code, fault="", details=""): ClientError.__init__(self, ClientErrorType.OFFLINE_MESSAGES, code) self._fault = fault self._details = details
def __init__(self, code, fault="", details=""): ClientError.__init__(self, ClientErrorType.SPACES, code) self._fault = fault self._details = details
def __init__(self, code, fault="", details=""): ClientError.__init__(self, ClientErrorType.CONTENT_ROAMING, code) self._fault = fault self._details = details
def __init__(self, code, reason=''): ClientError.__init__(self, ClientErrorType.UNKNOWN, code) self.reason = reason