code: function() {
      TraceKit.report.uninstall();
  
      this._detachPromiseRejectionHandler();
      this._unpatchFunctionToString();
      this._restoreBuiltIns();
      this._restoreConsole();
  
      Error.stackTraceLimit = this._originalErrorStackTraceLimit;
      this._isRavenInstalled = false;
  
      return this;
    }
docs: Uninstalls the global error handler.
  
  @return {Raven}