> ## 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.

# RulesError

> v0.20.5

> **RulesError** = `object`

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

Structure representing an error in the rules engine

## Properties

### errorType

> **errorType**: [`ErrorType`](./ErrorType)

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

Type of error

***

### message

> **message**: `string`

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

Error message

***

### state

> **state**: `any`

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

State at the time of error
