fail If
Delegates to check but inverting the predicate, i.e. throws an IllegalStateException if predicate is true.
Since
1.1.0
Parameters
predicate
the predicate which defines if the exception should be thrown or not.
error Message
The message which as IllegalStateException.message