fail method

Never fail(
  1. String message
)

Halt task execution; throws an exception with the given error message.

Implementation

Never fail(String message) {
  log(grinder.ansi.emphasized('failed: ') + grinder.ansi.error(message));
  throw GrinderException(message);
}