Ejemplo n.º 1
0
 def send_error(self,
                cid,
                msg,
                reason="unknown",
                tb=None,
                cast=False,
                errno=errors.NOT_SPECIFIED):
     resp = error(reason=reason, tb=tb, errno=errno)
     self.send_response(cid, msg, resp, cast=cast)
Ejemplo n.º 2
0
 def send_error(self,
                cid,
                msg,
                reason="unknown",
                tb=None,
                cast=False,
                errno=errors.NOT_SPECIFIED):
     resp = error(reason=reason, tb=tb, errno=errno)
     self.send_response(cid, msg, resp, cast=cast)
Ejemplo n.º 3
0
 def send_error(self, cid, msg, reason="unknown", tb=None, cast=False):
     resp = error(reason=reason, tb=tb)
     self.send_response(cid, msg, resp, cast=cast)
Ejemplo n.º 4
0
 def send_error(self, cid, msg, reason="unknown", tb=None, cast=False):
     resp = error(reason=reason, tb=tb)
     self.send_response(cid, msg, resp, cast=cast)