SHARE
TWEET

Untitled

a guest Jul 21st, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. source1$.pipe(
  2.   catchError((error, source) => of(`Error ${error}`))
  3. )
  4. source1$.pipe(
  5.   catchError((error, source) => {
  6.     callFlashMessageError(error),
  7.     return source.pipe(
  8.       switchMap(() => callInitialState())
  9.     )
  10.   })
  11. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top