> 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/contract/contract.errors.md).

# Contract.errors()

The function returns all the errors of a Contract.

`errors() →` [`Errors`](/glider-ide/api/errors.md)

## Example query

```python
from glider import *

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

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

  return contracts
```

## Example output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FBnVXywXuU5ifqV6QLBov%2Fimage.png?alt=media&amp;token=29f65115-697d-4a69-81a1-cd65296cf7b8" alt=""><figcaption></figcaption></figure>
