> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/errors/errors.exec.md).

# Errors.exec()

Executes the formed query and returns the list of Error objects.

`exec(`*`limit_count: int = 0, offset_count: int = 0`*`) →` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Error`](/glider-ide/api/error.md)`]`

## Query Example

```python
from glider import *

def query():
  contracts = Contracts().exec(1, 2265)

  for contract in contracts:
    for error in contract.errors().exec():
      print(error.name)

  return []
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FPFuIcoP1KUgE4HJObOei%2FScreenshot%202025-07-29%20at%206.21.15%E2%80%AFPM.png?alt=media&amp;token=1cad8048-13a6-4df5-9388-4298989a571d" alt=""><figcaption></figcaption></figure>
