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

9 lines (8 loc) 606 B
import { ComponentType } from '@angular/cdk/overlay'; import { InjectionToken, Signal } from '@angular/core'; import { IErrorDialogComponent } from './error-dialog/error-dialog.component'; import { ErrorInterceptorOptions } from './error-interceptor-options'; export declare const RXAP_ERROR_DIALOG_DATA: InjectionToken<Signal<any[]>>; export declare const RXAP_ERROR_DIALOG_ERROR: InjectionToken<any>; export declare const RXAP_ERROR_DIALOG_COMPONENT: InjectionToken<ComponentType<IErrorDialogComponent<any>>>; export declare const RXAP_ERROR_INTERCEPTOR_OPTIONS: InjectionToken<ErrorInterceptorOptions>;