> 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/callable/callable.catch_instructions.md).

# Callable.catch\_instructions()

`catch_instructions() →` [`Instructions`](/glider-ide/api/instructions.md)

## Example

```python
from glider import *
def query():
  functions = Functions().exec(5000)

  catch_instructions = []
  for function in functions:
    # List all catch instructions inside a try/catch block from the given functions
    for instruction in function.catch_instructions().exec():
      catch_instructions.append(instruction)

  return catch_instructions
```

## Example output

<figure><img src="/files/ib2lztSwLMYcmnVHQf9j" alt=""><figcaption></figcaption></figure>
