fail function

void fail (String message)

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

Implementation

void fail(String message) => context.fail(message);