Error.source_code()

Returns the source code of the error.

source_code() → str

Query Example

from glider import *

def query():
  contracts = Contracts().exec(1, 2265)

  for contract in contracts:
    for error in contract.errors().exec():
      print(error.source_code())

  return []

Example Output

Last updated