angular2 Observarble onError not a function
<p>I am trying to create an observable but my code fails:</p>

<pre><code>get(url: string, options?: RequestOptionsArgs): Observable&lt;Response&gt; {
    this._log.debug('SecureHttpService#get: ' + url);

    let resultObservable = Observable.create((observer) =&gt; {
      this._log.debug('resultObservable');
      this.tryReActivateToken().then(
        (result) =&gt; {
          this._log.debug('resultObservable#then#result: ' + result);
          if (result === true) {
            let headers = new Headers();
            headers.append('Authorization', 'Bearer ' + this.access_token);
            headers.append('X-Requested-With', 'XMLHttpRequest');
            // headers.append('Accept', 'json');

            this._log.debug(this.access_token);
            let superGetObs = super.get(url, { headers: headers, withCredentials: true });

            superGetObs.subscribe(
              (next) =&gt; { observer.onNext(next); },
              (error) =&gt; { observer.onError(error); },
              () =&gt; { observer.onCompleted(); }
            );
          } else {
            observer.onError(new Error('Could not log you in automatically'));
          }
        }, (error) =&gt; { this._log.debug('resultObservable#then#error: ' + error); observer.onError(error); });
    });

    return resultObservable;
  }
</code></pre>

<p>the error I get is: <a href="http://pastebin.com/BBcdc9sy" rel="nofollow noreferrer">http://pastebin.com/BBcdc9sy</a></p>

<p>What am I doing wrong? </p>