NestJS - Interceptors
Identify the error in this Exception Mapping Interceptor code:
```typescript
intercept(context, next) {
next.handle().pipe(
catchError(err => {
return throwError(() => new Error('Mapped error'));
}),
);
}
```
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions