> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/error/commonerror/properties/template.md).

# #template

## `#template`

A [string-type](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) privately stored [template](/error/getting-started/basic-concepts.md#template) of the error [message](/error/getting-started/basic-concepts.md#message) that contains replaceable required [`{fix}`](/error/commonerror/constructor.md#fix), [`{problem}`](/error/commonerror/constructor.md#problem) and optional [`{id}`](/error/commonerror/constructor.md#id), `{link}`, [`{max}`](/error/commonerror/constructor.md#max), [`{min}`](/error/commonerror/constructor.md#min), [`{type}`](/error/commonerror/constructor.md#type) tags.

{% code title="common-error.class.ts" %}

```typescript
#template: string;
```

{% endcode %}

### Type

#### [<mark style="color:green;">`string`</mark>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)
