fail

fun fail(message: String): Nothing(source)

Throws a ToolException.ValidationFailure exception with the specified error message.

Return

Nothing, as this function always throws an exception.

Parameters

message

The error message to include in the exception.