def set_error(self, error):
    with self._lock:
      self._error = error
      self._app = None
Sets the HTTP status code to serve for all requests.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/wsgi_server.py/_SingleAddressWsgiServer.set_error