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

52 lines (26 loc) 1.9 kB
[**@rxap/ngx-error v19.1.0**](../README.md) *** [@rxap/ngx-error](../globals.md) / MessageHttpErrorComponent # Class: MessageHttpErrorComponent Defined in: [message-http-error/message-http-error.component.ts:24](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/message-http-error/message-http-error.component.ts#L24) ## Implements - [`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md)\<[`MessageHttpErrorDialogData`](../interfaces/MessageHttpErrorDialogData.md)\> ## Constructors ### new MessageHttpErrorComponent() > **new MessageHttpErrorComponent**(): [`MessageHttpErrorComponent`](MessageHttpErrorComponent.md) #### Returns [`MessageHttpErrorComponent`](MessageHttpErrorComponent.md) ## Properties ### error > `readonly` **error**: [`MessageHttpErrorDialogData`](../interfaces/MessageHttpErrorDialogData.md) Defined in: [message-http-error/message-http-error.component.ts:28](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/message-http-error/message-http-error.component.ts#L28) #### Implementation of [`IErrorDialogComponent`](../interfaces/IErrorDialogComponent.md).[`error`](../interfaces/IErrorDialogComponent.md#error) *** ### isProduction > `readonly` **isProduction**: `boolean` Defined in: [message-http-error/message-http-error.component.ts:26](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/message-http-error/message-http-error.component.ts#L26) *** ### showMore > `readonly` **showMore**: `WritableSignal`\<`boolean`\> Defined in: [message-http-error/message-http-error.component.ts:30](https://gitlab.com/rxap/packages/-/blob/3eebed1be2bbb37bc0d65959f8fecbb850c0b8aa/packages/angular/error/src/lib/message-http-error/message-http-error.component.ts#L30)