(self, status_code, **kwargs)
| 106 | return |
| 107 | |
| 108 | def write_error(self, status_code, **kwargs): |
| 109 | if ('exc_info' in kwargs) and (kwargs['exc_info']): |
| 110 | (type, value, traceback) = kwargs['exc_info'] |
| 111 | (custom_code, custom_message) = exception_to_code_and_message(value) |
| 112 | |
| 113 | if custom_code: |
| 114 | respond_error(self, custom_code, custom_message) |
| 115 | return |
| 116 | |
| 117 | respond_error(self, status_code, self._reason) |
| 118 | |
| 119 | |
| 120 | class BaseStaticHandler(tornado.web.StaticFileHandler): |
nothing calls this directly
no test coverage detected