<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [interactions](./case-definition-dsl.interactions.md) &gt; [functions](./case-definition-dsl.interactions.functions.md) &gt; [WillCallThrowingFunction](./case-definition-dsl.interactions.functions.willcallthrowingfunction.md) &gt; [(constructor)](./case-definition-dsl.interactions.functions.willcallthrowingfunction._constructor_.md)

## interactions.functions.WillCallThrowingFunction.(constructor)

Defines an example that executes a registered function with specific arguments

**Signature:**

```typescript
constructor(example: ThrowingFunctionExecutionExample);
```

## Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

example

</td><td>

[ThrowingFunctionExecutionExample](./case-definition-dsl.interactions.functions.throwingfunctionexecutionexample.md)

</td><td>

a

</td></tr>
</tbody></table>
