# getSpecificMessage

> This document is the Markdown version of [valibot.dev/api/getSpecificMessage/](https://valibot.dev/api/getSpecificMessage/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Returns a specific error message.

```ts
const message = v.getSpecificMessage(reference, lang);
```

## Parameters

- `reference` `Reference`
- `lang` `string | undefined`

## Returns

- `message` `ErrorMessage<BaseIssue<unknown>> | undefined`
