Adds a filter to get contracts that have an error whose name matches the given regex.
Last updated 7 days ago
with_error_regex(regex: str) -> Contracts
with_error_regex(regex: str) ->
Contracts
from glider import * def query(): contracts = Contracts().with_error_regex('^Err.*').exec(1) errors = contracts[0].errors().exec() for error in errors: print(error.signature) return contracts