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

10 lines (9 loc) 602 B
import { EnvironmentProviders, Provider } from '@angular/core'; import { Constructor } from '@rxap/utilities'; import { IErrorCaptureDialogService } from './error-capture-dialog.service'; export declare function provideAutoErrorInterception(...providers: Array<Provider | EnvironmentProviders>): (Provider | EnvironmentProviders)[]; export declare function withErrorCaptureDialogService(service: Constructor<IErrorCaptureDialogService>): Provider; /** * @deprecated Use `provideAutoErrorInterception` instead. */ export declare function ProvideErrorHandler(): Array<Provider | EnvironmentProviders>;