import { ErrorHandler, Injector } from '@angular/core'; import { HttpErrorResponse } from '@angular/common/http'; import * as i0 from "@angular/core"; /** * * This class is defined to captures client and server side errors, as and when thrown anywhere in the application * @export * @class GlobalErrorHandlerService * @implements {ErrorHandler} */ export declare class GlobalErrorHandlerService implements ErrorHandler { private injector; constructor(injector: Injector); /** * This method is defined to capture the server and client side errors. * @param {(Error | HttpErrorResponse)} error * @memberof GlobalErrorHandlerService */ handleError(error: Error | HttpErrorResponse): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }