Adds a filter to get contracts that have an error with the given name.
Last updated 7 days ago
with_error_name(name: str, sensitivity: boot = True) -> Contracts
with_error_name(name: str, sensitivity: boot = True) ->
Contracts
from glider import * def query(): contracts = Contracts().with_error_name("Invalid").exec(1) errors = contracts[0].errors().exec() for error in errors: print(error.signature) return contracts