@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
18 lines (9 loc) • 526 B
Markdown
[@rxap/ngx-error](../wiki/globals) / SimplifyHttpErrorResponse
# Function: SimplifyHttpErrorResponse()
> **SimplifyHttpErrorResponse**(`event`): [`SimplifiedHttpErrorResponse`](../wiki/Interface.SimplifiedHttpErrorResponse)
Defined in: [utilities.ts:19](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/utilities.ts#L19)
## Parameters
### event
`HttpErrorResponse`
## Returns
[`SimplifiedHttpErrorResponse`](../wiki/Interface.SimplifiedHttpErrorResponse)