@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
52 lines (26 loc) • 1.82 kB
Markdown
[**/ngx-error v19.1.0**](../README.md)
***
[/ngx-error](../globals.md) / CodeHttpErrorComponent
# Class: CodeHttpErrorComponent
Defined in: [code-http-error/code-http-error.component.ts:24](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/code-http-error/code-http-error.component.ts#L24)
## Implements
- [`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md)\<[`CodeHttpErrorDialogData`](../interfaces/CodeHttpErrorDialogData.md)\>
## Constructors
### new CodeHttpErrorComponent()
> **new CodeHttpErrorComponent**(): [`CodeHttpErrorComponent`](CodeHttpErrorComponent.md)
#### Returns
[`CodeHttpErrorComponent`](CodeHttpErrorComponent.md)
## Properties
### error
> `readonly` **error**: [`CodeHttpErrorDialogData`](../interfaces/CodeHttpErrorDialogData.md)
Defined in: [code-http-error/code-http-error.component.ts:28](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/code-http-error/code-http-error.component.ts#L28)
#### Implementation of
[`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md).[`error`](../interfaces/IErrorDialogComponent.md#error)
***
### isProduction
> `readonly` **isProduction**: `boolean`
Defined in: [code-http-error/code-http-error.component.ts:26](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/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/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/code-http-error/code-http-error.component.ts#L30)