# #template

## `#template`

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