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

22 lines (11 loc) 499 B
[@rxap/ngx-error](../wiki/globals) / HttpErrorInterceptor # Function: HttpErrorInterceptor() > **HttpErrorInterceptor**(`req`, `next`): `Observable`\<`HttpEvent`\<`unknown`\>\> Defined in: [http-error-interceptor.ts:26](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/http-error-interceptor.ts#L26) ## Parameters ### req `HttpRequest`\<`unknown`\> ### next `HttpHandlerFn` ## Returns `Observable`\<`HttpEvent`\<`unknown`\>\>