Callable.throw_instructions()

Returns throw instructions of the function/modifier.

throw_instructions() → Instructions

Example

from glider import *
def query():
  functions = Functions().exec(10000)

  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

Last updated