Angular - RxJS Operators
How can you use
catchError to log an error and then rethrow it to be handled elsewhere?catchError to log an error and then rethrow it to be handled elsewhere?console.error(err) to log the error.throwError(() => err) to rethrow error as Observable for further handling.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions