---
title: setSchemaMessage
description: Sets a schema error message.
source: /storages/schemaMessage/schemaMessage.ts
contributors:
  - fabian-hiller
---

import { Property } from '~/components';
import { properties } from './properties';

# setSchemaMessage

Sets a schema error message.

```ts
v.setSchemaMessage(message, lang);
```

## Parameters

- `message` <Property {...properties.message} />
- `lang` <Property {...properties.lang} />
