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

# RuleError

> RuleError class providing read-only access to errors generated by business rules — error type, message, parameters, field, and rule identifiers.

Provides access to errors generated by business rules.

## Properties

| Name              | Data Type | Access Level | Description                                                                                                                           |
| :---------------- | :-------- | :----------- | :------------------------------------------------------------------------------------------------------------------------------------ |
| `CurrentFieldId`  | `string`  | Read-only    | The identifier of the field that was checked by the rule when the error was detected.                                                 |
| `CustomMessage`   | `string`  | Read-only    | An error message defined by the user. For built-in rules and error messages that have not been set, this will return an empty string. |
| `ErrorParameters` | `object`  | Read-only    | The error parameters. Returns values only for built-in rules.                                                                         |
| `ErrorType`       | `string`  | Read-only    | The error type.                                                                                                                       |
| `RuleId`          | `string`  | Read-only    | The identifier of the rule that generated the error.                                                                                  |
