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

26 lines (13 loc) 547 B
[**@rxap/ngx-error v19.1.0**](../README.md) *** [@rxap/ngx-error](../globals.md) / HttpErrorInterceptor # Function: HttpErrorInterceptor() > **HttpErrorInterceptor**(`req`, `next`): `Observable`\<`HttpEvent`\<`unknown`\>\> Defined in: [http-error-interceptor.ts:26](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/http-error-interceptor.ts#L26) ## Parameters ### req `HttpRequest`\<`unknown`\> ### next `HttpHandlerFn` ## Returns `Observable`\<`HttpEvent`\<`unknown`\>\>