code: function StackTrace$$fromError(error, opts) {
              opts = _merge(_options, opts);
              var gps = new StackTraceGPS(opts);
              return new Promise(function(resolve) {
                  var stackframes = _filtered(ErrorStackParser.parse(error), opts.filter);
                  resolve(Promise.all(stackframes.map(function(sf) {
                      return new Promise(function(resolve) {
                          function resolveOriginal() {
                              resolve(sf);
                          }
  
                          gps.pinpoint(sf).then(resolve, resolveOriginal)['catch'](resolveOriginal);
                      });
                  })));
              }.bind(this));
          }
docs: Given an error object, parse it.
  
  @param {Error} error object
  @param {Object} opts
  @returns {Promise} for Array[StackFrame}