code: def handle_exc(self):
          
          exc_info = sys.exc_info()
          type_, value = exc_info[:2]
          self.db.obj_cache[id(exc_info)] = exc_info
  
          return '<a href="%d" class="inspect">%s: %s</a>' % (
              id(exc_info), escape(type_.__name__), escape(repr(value))
          )
docs: Return a formated exception traceback for wdb.js use