tlc.common.conditionchecker.ConditionErrorCriteria

../_images/classes_tlc.common.conditionchecker.png
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

ERROR_WHEN_NOT_ZERO

An error will be flagged when counter is not zero

ERROR_WHEN_NOT_ONE

An error will be flagged when counter is not one

WARN_WHEN_NOT_ZERO

A warning will be flagged when counter is not zero

WARN_WHEN_NOT_ONE

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