packages/raven-js/src/raven.js
function() {
    TraceKit.report.uninstall();

    this._detachPromiseRejectionHandler();
    this._unpatchFunctionToString();
    this._restoreBuiltIns();
    this._restoreConsole();

    Error.stackTraceLimit = this._originalErrorStackTraceLimit;
    this._isRavenInstalled = false;

    return this;
  }
function() {
    TraceKit.report.uninstall();

    this._detachPromiseRejectionHandler();
    this._unpatchFunctionToString();
    this._restoreBuiltIns();
    this._restoreConsole();

    Error.stackTraceLimit = this._originalErrorStackTraceLimit;
    this._isRavenInstalled = false;

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

@return {Raven}
Uninstalls the global error handler .