> 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/instruction/tryinstruction/tryinstruction.get_block_instructions.md).

# TryInstruction.get\_block\_instructions()

The method returns a list of instruction in a try block.

`get_block_instructions() -> APIList[`[`Instruction`](/glider-ide/api/instruction.md)`]`

## Query Example

```python
from glider import *

def query():
    try_instructions = Instructions().try_instructions().exec(1)

    return try_instructions + try_instructions[0].get_block_instructions()
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FAlUaACFyGz1jfAWByZg9%2Fimage.png?alt=media&amp;token=b210a1e9-7739-4044-91a1-14edbbc77045" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FaZVP0uC61XS772r8gA3B%2Fimage.png?alt=media&amp;token=0af63152-84eb-46b6-8289-5bf962c57c0c" alt=""><figcaption></figcaption></figure>
