<!-- 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; [ThrowingFunctionExecutionExample](./case-definition-dsl.interactions.functions.throwingfunctionexecutionexample.md) &gt; [message](./case-definition-dsl.interactions.functions.throwingfunctionexecutionexample.message.md)

## interactions.functions.ThrowingFunctionExecutionExample.message property

A test equivalence matcher for the message from this exception. In general, it's best to rely on the class of the exception instead of the specific error message

**Signature:**

```typescript
readonly message?: AnyMatcherOrData;
```
