Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
catchError(() => throwError(
new HttpError('Movie does not exist', HttpStatus.NOT_FOUND)
))
))
req$.pipe(switchMap(() =>
throwError(new HttpError('Route not found', HttpStatus.NOT_FOUND))
));
req$.pipe(switchMap(() => throwError(new HttpError('Route not found', HttpStatus.NOT_FOUND))));
catchError(() => throwError(new HttpError('Article does not exist', HttpStatus.NOT_FOUND)))
)
switchMap(() =>
throwError(new HttpError('Route not found', HttpStatus.NOT_FOUND))
)
catchError(() => throwError(
new HttpError('Actor does not exist', HttpStatus.NOT_FOUND)
))
))
catchError(() => throwError(
new HttpError('User does not exist', HttpStatus.NOT_FOUND)
))
);
mergeMap(() => throwError(
new HttpError('Route not found', HttpStatus.NOT_FOUND)
)),
)));
throwError(() =>
err instanceof HttpError ? err : new HttpError('User does not exist', HttpStatus.NOT_FOUND)
)
catchError(() => throwError(
new HttpError('User does not exist', HttpStatus.NOT_FOUND)
))
)),