info
Constructs ValidationInfo from the given message using parameters inferred from the DSL context.
If message is null
, this function returns null
.
Useful inside the lambdas you must pass to check if you want to quickly turn a String into ValidationInfo.