tlc.common.conditionchecker.ConditionErrorCriteria
- class tlc.common.conditionchecker.ConditionErrorCriteria(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Error criteria. This enumeration is used when calling ConditionChecker.setErrorLevel
- __init__(*args, **kwds)
Attributes
An error will be flagged when counter is not zero
An error will be flagged when counter is not one
A warning will be flagged when counter is not zero
A warning will be flagged when counter is not one
- ERROR_WHEN_NOT_ONE = 1
An error will be flagged when counter is not one
- ERROR_WHEN_NOT_ZERO = 0
An error will be flagged when counter is not zero
- WARN_WHEN_NOT_ONE = 3
A warning will be flagged when counter is not one
- WARN_WHEN_NOT_ZERO = 2
A warning will be flagged when counter is not zero