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

***

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

# Function: withErrorCaptureDialogDisabledIf()

> **withErrorCaptureDialogDisabledIf**(`condition`): `Provider`

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

## Parameters

### condition

`boolean` | () => `boolean`

## Returns

`Provider`
