@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
182 lines (91 loc) • 4.83 kB
Markdown
[/ngx-error](../wiki/globals) / MessageHttpErrorDialogData
# Interface: MessageHttpErrorDialogData
Defined in: [message-http-error/message-http-error-dialog-data.ts:3](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/message-http-error/message-http-error-dialog-data.ts#L3)
## Extends
- `Omit`\<[`AnyHttpErrorDialogData`](../wiki/Interface.AnyHttpErrorDialogData), `"error"`\>
## Properties
### body?
> `optional` **body**: `any`
Defined in: [any-http-error/any-http-error-dialog-data.ts:8](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L8)
#### Inherited from
`Omit.body`
***
### error
> **error**: `object` & `Record`\<`string`, `unknown`\>
Defined in: [message-http-error/message-http-error-dialog-data.ts:4](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/message-http-error/message-http-error-dialog-data.ts#L4)
#### Type declaration
##### message
> **message**: `string`
***
### headers
> **headers**: `Record`\<`string`, `string`[]\>
Defined in: [any-http-error/any-http-error-dialog-data.ts:17](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L17)
All response headers.
#### Inherited from
`Omit.headers`
***
### message
> **message**: `string`
Defined in: [any-http-error/any-http-error-dialog-data.ts:11](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L11)
#### Inherited from
`Omit.message`
***
### method
> **method**: `string`
Defined in: [any-http-error/any-http-error-dialog-data.ts:7](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L7)
#### Inherited from
`Omit.method`
***
### name
> **name**: `string`
Defined in: [any-http-error/any-http-error-dialog-data.ts:12](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L12)
#### Inherited from
`Omit.name`
***
### ok
> **ok**: `boolean`
Defined in: [any-http-error/any-http-error-dialog-data.ts:35](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L35)
Whether the status code falls in the 2xx range.
#### Inherited from
`Omit.ok`
***
### stack?
> `optional` **stack**: `string`
Defined in: [any-http-error/any-http-error-dialog-data.ts:9](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L9)
#### Inherited from
`Omit.stack`
***
### status
> **status**: `number`
Defined in: [any-http-error/any-http-error-dialog-data.ts:21](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L21)
Response status code.
#### Inherited from
`Omit.status`
***
### statusText
> **statusText**: `string`
Defined in: [any-http-error/any-http-error-dialog-data.ts:27](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L27)
Textual description of response status code, defaults to OK.
Do not depend on this.
#### Inherited from
`Omit.statusText`
***
### timestamp
> **timestamp**: `number`
Defined in: [any-http-error/any-http-error-dialog-data.ts:13](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L13)
#### Inherited from
`Omit.timestamp`
***
### type
> **type**: `ResponseHeader` \| `Response`
Defined in: [any-http-error/any-http-error-dialog-data.ts:39](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L39)
Type of the response, narrowed to either the full response or the header.
#### Inherited from
`Omit.type`
***
### url
> **url**: `null` \| `string`
Defined in: [any-http-error/any-http-error-dialog-data.ts:31](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/any-http-error/any-http-error-dialog-data.ts#L31)
URL of the resource retrieved, or null if not available.
#### Inherited from
`Omit.url`