Creates a ValidationFailure instance with the given message.
The detail message describing the validation error.