EmptyValuesError()
Source¶
Bases: NumdaplotError
Raised when a rule receives an empty list of accepted values, which would never keep anything.
Added in version 0.1.0
Examples:
import numdaplot as ndp
try:
ndp.IsIn([])
except ndp.EmptyValuesError as error:
print(error)
# Expected at least one accepted value, got an empty list.