title: Cannot read error of http request response
body: <p>I'm currently using redux-cycles in my React native app to make an API request. This is what my cycle looks like:</p>
  
  <pre><code>const handleAction$ = ACTION
  .filter(({ type }) =&gt; type === Types.MY_THING)
  .map(({ stuff }) =&gt; stuff)
  .compose(fooBar())
  .map(() =&gt; ({
    url: 'bad_url_for_testing',
    method: 'POST',
  }))
  
  const continue$ = HTTP
    .select('sendStuff')
    // check for error
    .map(response$ =&gt; response$.replaceError(err =&gt; xs.of(err.response)))
    .flatten()
    // choose the correct action
    // this is where it fails!
    .map((res) =&gt;
      res.error
      ? Creators.failureAction()
      : Creators.successAction()
    );
  return {
    HTTP: handleAction$,
    ACTION: continue$
  }
  </code></pre>
  
  <p>Upon running the cycle, however, I will get the following error:</p>
  
  <p><code>
  Cannot read property 'error' of undefined
  </code></p>
  
  <p>What is the issue?</p>
  
  <p>Thanks in advance</p>