UNPKG

@cauca-911/core

Version:

Run `npm install @cauca-911/core` to add this library to your project

18 lines (17 loc) 911 B
import { HttpInterceptor, HttpEvent, HttpHandler, HttpRequest } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CaucaCoreService } from '../../cauca-core.service'; import { InterceptorErrorService } from './interceptor-error.service'; import { LogService } from '../services/log.service'; import * as i0 from "@angular/core"; export declare class HttpErrorInterceptor implements HttpInterceptor { private logService; private interceptorErrorService; private config; constructor(coreService: CaucaCoreService, logService: LogService, interceptorErrorService: InterceptorErrorService); intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>; private handleRetry; private handleError; static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorInterceptor, never>; static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorInterceptor>; }