<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [SanitizedEmscriptenTestModule](./rc-js-util.sanitizedemscriptentestmodule.md) &gt; [runWithDisabledErrors](./rc-js-util.sanitizedemscriptentestmodule.runwithdisablederrors.md)

## SanitizedEmscriptenTestModule.runWithDisabledErrors() method

**Signature:**

```typescript
runWithDisabledErrors(exclusions: IErrorExclusions, callback: () => void): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

exclusions


</td><td>

[IErrorExclusions](./rc-js-util.ierrorexclusions.md)


</td><td>


</td></tr>
<tr><td>

callback


</td><td>

() =&gt; void


</td><td>


</td></tr>
</tbody></table>
**Returns:**

void

