title: How do you catch with a pipe?
body: <p>How do I do the following with lettable operators and pipe?</p>
  
  <pre class="lang-js prettyprint-override"><code>    this.httpClient
        .get(url)
        .map((res: any) =&gt; {
          const events = res.eventList;
          return events.map(e =&gt; new EventLogModel(e));
        })
        .catch(this.handleError);
  </code></pre>
  
  <p>I've tried this, but I can't get <code>catchError</code> to work: <code>catchError does not exist on type Observable&lt;any&gt;</code>:</p>
  
  <pre class="lang-js prettyprint-override"><code>    this.httpClient
        .get(url)
        .pipe(
          map((res: any) =&gt; {
            const events = res.eventList;
            return events.map(e =&gt; new EventLogModel(e));
          })
        )
        .catchError(this.handleError);
  </code></pre>
  
  <p>Also, I assume <code>catch</code> and <code>catchError</code> are the same, correct? I'm importing it like so:</p>
  
  <p><code>import { map, catchError } from 'rxjs/operators';</code></p>
  
  <p>but I wasn't sure if this was the correct operator to use.</p>