> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt
> Use this file to discover all available pages before exploring further.

# getRulesErrorMessages

> v0.20.5

> **getRulesErrorMessages**(`errors`): `string`

Defined in: [src/modules/validation.ts:166](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/validation.ts#L166)

Accepts an array of RulesError objects and returns a formatted message string

## Parameters

| Parameter | Type                                                   | Description                        |
| --------- | ------------------------------------------------------ | ---------------------------------- |
| `errors`  | [`RulesError`](../../types/type-aliases/RulesError)\[] | RulesErrors array to be processed. |

## Returns

`string`

The errors messages concatenated into a single string
