> 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.throw_instructions.md).

# Callable.throw\_instructions()

Returns throw instructions of the function/modifier.

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

## 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&amp;token=e65f3cee-81d0-4950-9d4b-f7da671baea1" alt=""><figcaption></figcaption></figure>
