[**@rxap/ngx-error v19.2.0**](../README.md)

***

[@rxap/ngx-error](../globals.md) / withErrorCaptureDialogService

# Function: withErrorCaptureDialogService()

> **withErrorCaptureDialogService**(`service`): `Provider`

Defined in: [provide.ts:24](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/error/src/lib/provide.ts#L24)

## Parameters

### service

`Constructor`\<[`IErrorCaptureDialogService`](../interfaces/IErrorCaptureDialogService.md)\<`any`\>\>

## Returns

`Provider`
