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

# TRuleErrorType

> TRuleErrorType classifies errors in the FlexiCapture IRuleError interface as rule errors, format errors, or document version merge errors.

The type of the error. Applies in the [IRuleError](/flexi-capture/appendix/scripts/iruleerror) interface.

## Possible values

| Name                   | Value | Description                                          |
| ---------------------- | ----- | ---------------------------------------------------- |
| `ET_RuleError`         | `0`   | A rule error.                                        |
| `ET_FormatError`       | `1`   | A format error.                                      |
| `ET_MergeVersionError` | `2`   | An error merging different versions of the document. |
