NestJS - Interceptors
Identify the error in this ExceptionMappingInterceptor code:
intercept(context, next) {
return next.handle().pipe(
catchError(err => {
throw new HttpException('Error occurred', 400);
}),
);
}