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

# RuleErrorSeverityEnum

**RuleErrorSeverityEnum** enumeration constants are used to set the severity of a rule error.

```cpp theme={null}
typedef enum {
 RES_CriticalError,
 RES_Warning
} RuleErrorSeverityEnum;
```

## Elements

| **Name** | **Description** |
| - | - |
| RES\_CriticalError | Critical error. |
| RES\_Warning | Warning. |

## Used in

[**IRuleError::Severity**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/ruleerror.md#severity)
