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

[Home](./index.md) &gt; [@contract-case/case-boundary](./case-boundary.md) &gt; [PrintableMatchError](./case-boundary.printablematcherror.md)

## PrintableMatchError interface

Data class to hold data to print a message error during matching

**Signature:**

```typescript
export interface PrintableMatchError
```

## Properties

| Property                                                            | Modifiers             | Type   | Description                                                                                                                                                    |
| ------------------------------------------------------------------- | --------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [actual](./case-boundary.printablematcherror.actual.md)             | <code>readonly</code> | string | A string representation of the actual data received (may contain newlines)                                                                                     |
| [errorTypeTag](./case-boundary.printablematcherror.errortypetag.md) | <code>readonly</code> | string | The machine-readable type for the cause of this error, for printing after the error message to make it easy to search for.                                     |
| [expected](./case-boundary.printablematcherror.expected.md)         | <code>readonly</code> | string | A string representation of the expected data (may contain newlines)                                                                                            |
| [kind](./case-boundary.printablematcherror.kind.md)                 | <code>readonly</code> | string | The red highlighted blob, eg "MATCHING ERROR" or "TRIGGER FUNCTION ERROR". Could be any string.                                                                |
| [location](./case-boundary.printablematcherror.location.md)         | <code>readonly</code> | string | The location the error happened, for printing at the top of the error message                                                                                  |
| [locationTag](./case-boundary.printablematcherror.locationtag.md)   | <code>readonly</code> | string | The tag line for the location the error happened, for printing after the error message. This might have more information than the <code>location</code> above. |
| [message](./case-boundary.printablematcherror.message.md)           | <code>readonly</code> | string | A summary of the error. Could be any string.                                                                                                                   |
