ehandler
Version:
Exception handler for Angular Applications
11 lines (10 loc) • 480 B
TypeScript
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import { Config } from './const/config';
import { EHandlerService } from './ehandler.service';
export declare class EIntercepterService implements HttpInterceptor {
private config;
private eh;
constructor(config: Config, eh: EHandlerService);
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
}