Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  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. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement