code: def handle_error(self, callback):
          
          self.loop.log_error(callback)
          msg = "\n".join([
              "Exception in callback %r"%callback,
              traceback.format_exc()
          ])
          self.show_error(msg.encode('utf-8'))
docs: Called when an error occurs in an event loop callback.
          By default, sets the error view.