Exemple #1
0
 def __init__(self,
              status: int,
              message: str,
              origin: Optional[str] = None):
     self.status = status
     if self.status < 0:
         self.status += 2**32
     E3Error.__init__(self, message, origin=origin)
Exemple #2
0
 def __init__(self, status, message, origin=None):
     self.status = status
     if self.status < 0:
         self.status += 2 ** 32
     E3Error.__init__(self, message, origin=origin)
Exemple #3
0
 def __init__(self, status, message, origin=None):
     self.status = status
     if self.status < 0:
         self.status = self.status + 2 ** 32
     E3Error.__init__(self, message, origin=origin)