A classe ConflictInterceptor()
import { Injectable, NestInterceptor, ExecutionContext, CallHandler, ConflictException } from '@nestjs/common'
import { catchError, Observable } from 'rxjs'
import { ConflictError } from '../types/ConflictError'
@Injectable()
export class ConflictInterceptor implements NestInterceptor {
intercept(context: ExecutionContext, next: CallHandler): Observable<any> {