[@rxap/ngx-error](../wiki/globals) / 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`](../wiki/Interface.IErrorCaptureDialogService)\<`any`\>\>

## Returns

`Provider`
