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

# Errors Objects

When a Document Definition is matched, pages are assembled into documents, then the document is recognized and rules, imposed on data by the document definition, are applied to the fields, found in the document. The errors, which appear during assembling pages into documents are called assembling errors and represented by the [**AssemblingError**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/assemblingerror.md) objects. The errors, which appear when rules are applied to the document fields, called rule errors and are represented by the [**RuleError**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/ruleerror.md) objects.

This section describes the following objects which provide access to errors occurred during document processing:

* [**AssemblingErrors**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/assemblingerrors.md)
* [**AssemblingError**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/assemblingerror.md)
* [**RuleErrors**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/ruleerrors.md)
* [**RuleError**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/ruleerror.md)
* [**Rule**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/rule.md)

## The hierarchy of the objects

![](https://mintcdn.com/abbyy/89WLEbAVqQ-ysQEU/images/flexi-capture/sdk/ErrorsObjects.gif?s=4fdb0dea055d2f12f9b0bd521bd7236b)
