@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
11 lines (10 loc) • 708 B
TypeScript
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;
export declare function withErrorCaptureDialogDisabledIf(condition: boolean | (() => boolean)): Provider;
/**
* @deprecated Use `provideAutoErrorInterception` instead.
*/
export declare function ProvideErrorHandler(): Array<Provider | EnvironmentProviders>;