UNPKG

@rxap/ngx-error

Version:

This package provides a comprehensive error handling solution for Angular applications, including interceptors, services, and UI components to display different types of errors in a user-friendly dialog. It supports handling of generic errors, HTTP errors

12 lines (11 loc) 716 B
import { ComponentType } from '@angular/cdk/overlay'; import { ErrorCaptureService } from '../error-capture.service'; import { IErrorDialogComponent } from '../error-dialog/error-dialog.component'; import { AnyHttpErrorDialogData } from './any-http-error-dialog-data'; import * as i0 from "@angular/core"; export declare class AnyHttpErrorService<Error extends AnyHttpErrorDialogData = AnyHttpErrorDialogData> extends ErrorCaptureService<Error> { protected readonly component: ComponentType<IErrorDialogComponent>; compare(a: Error, b: Error): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<AnyHttpErrorService<any>, never>; static ɵprov: i0.ɵɵInjectableDeclaration<AnyHttpErrorService<any>>; }