I want to map HttpClient\'s error with its type and I have this code:
export class ErrorMessageInterceptor implements HttpI