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

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