@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
48 lines (24 loc) • 1.8 kB
Markdown
[/ngx-error](../wiki/globals) / CodeHttpErrorComponent
# Class: CodeHttpErrorComponent
Defined in: [code-http-error/code-http-error.component.ts:24](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/code-http-error/code-http-error.component.ts#L24)
## Implements
- [`IErrorDialogComponent`](../wiki/Interface.IErrorDialogComponent)\<[`CodeHttpErrorDialogData`](../wiki/Interface.CodeHttpErrorDialogData)\>
## Constructors
### new CodeHttpErrorComponent()
> **new CodeHttpErrorComponent**(): [`CodeHttpErrorComponent`](../wiki/Class.CodeHttpErrorComponent)
#### Returns
[`CodeHttpErrorComponent`](../wiki/Class.CodeHttpErrorComponent)
## Properties
### error
> `readonly` **error**: [`CodeHttpErrorDialogData`](../wiki/Interface.CodeHttpErrorDialogData)
Defined in: [code-http-error/code-http-error.component.ts:28](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/code-http-error/code-http-error.component.ts#L28)
#### Implementation of
[`IErrorDialogComponent`](../wiki/Interface.IErrorDialogComponent).[`error`](../wiki/Interface.IErrorDialogComponent#error)
***
### isProduction
> `readonly` **isProduction**: `boolean`
Defined in: [code-http-error/code-http-error.component.ts:26](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/code-http-error/code-http-error.component.ts#L26)
***
### showMore
> `readonly` **showMore**: `WritableSignal`\<`boolean`\>
Defined in: [code-http-error/code-http-error.component.ts:30](https://gitlab.com/rxap/packages/-/blob/15b5fab8912b1042ea325e7f4d98844416018df1/packages/angular/error/src/lib/code-http-error/code-http-error.component.ts#L30)