示例#1
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.AUTHENTICATION, code)
     self._fault = fault
     self._details = details
示例#2
0
 def __init__(self, error, done, failed):
     ClientError.__init__(self, error._type, error._code)
     self._error = error
     self.done = done
     self.failed = failed
示例#3
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.ADDRESSBOOK, code)
     self._fault = fault
     self._details = details
示例#4
0
 def __init__(self, message):
     ClientError.__init__(self, ClientErrorType.UNKNOWN, P2PError.UNKNOWN)
     self.message = message
示例#5
0
 def __init__(self, code):
     ClientError.__init__(self, ClientErrorType.NETWORK, code)
示例#6
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.AUTHENTICATION, code)
     self._fault = fault
     self._details = details
示例#7
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.OFFLINE_MESSAGES, code)
     self._fault = fault
     self._details = details
示例#8
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.ADDRESSBOOK, code)
     self._fault = fault
     self._details = details
示例#9
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.SPACES, code)
     self._fault = fault
     self._details = details
示例#10
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.OFFLINE_MESSAGES, code)
     self._fault = fault
     self._details = details
示例#11
0
 def __init__(self, error, done, failed):
     ClientError.__init__(self, error._type, error._code)
     self._error = error
     self.done = done
     self.failed = failed
示例#12
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.SPACES, code)
     self._fault = fault
     self._details = details
示例#13
0
 def __init__(self, code):
     ClientError.__init__(self, ClientErrorType.NETWORK, code)
示例#14
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.CONTENT_ROAMING, code)
     self._fault = fault
     self._details = details
示例#15
0
文件: turn.py 项目: stlcours/emesene
 def __init__(self, code, reason=''):
     ClientError.__init__(self, ClientErrorType.UNKNOWN, code)
     self.reason = reason
示例#16
0
 def __init__(self, code, fault="", details=""):
     ClientError.__init__(self, ClientErrorType.CONTENT_ROAMING, code)
     self._fault = fault
     self._details = details