Conditional error/warning¶
-
class
node_conditional_error.
ConditionalError
[source]¶ Raise an error if the supplied predicate function returns True.
See https://docs.python.org/3/tutorial/controlflow.html#lambda-expressions for a description of lambda functions. Have a look at the Data type APIs to see what methods and attributes are available on the data type that you are working with.
Inputs: - in : <a>
Input
Outputs: - out : <a>
Output
Configuration: - Predicate function:
Error message is printed if this function returns True.
- Error message:
Error message to display to the user.
- Severity:
The level “Error” stops flow execution.