예제 #1
0
파일: controller.py 프로젝트: rsdy/circus
 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)
예제 #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)
예제 #3
0
파일: controller.py 프로젝트: themgt/circus
 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)
예제 #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)