# Callable.throw\_instructions()

`throw_instructions() →` [`Instructions`](https://glide.gitbook.io/main/glider-ide/api/instructions)

## Query Example&#x20;

```python
from glider import *


def query():
  functions = Functions().with_name("setTokenExchangeRate").exec(1)

  throw_instructions = []
  for function in functions:
    for instruction in function.throw_instructions().exec():
      # Return the throw instructions for each function
      throw_instructions.append(instruction)

  return throw_instructions
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FB0tcsB7gC7kGx5qMYalZ%2FScreenshot%202025-08-25%20at%202.12.14%E2%80%AFPM.png?alt=media&#x26;token=e65f3cee-81d0-4950-9d4b-f7da671baea1" alt=""><figcaption></figcaption></figure>
