failed static method

void failed(
  1. String message, {
  2. bool isExit = true,
  3. int statusExit = 1,
})

Implementation

static void failed(String message, {bool isExit = true, int statusExit = 1}) {
  printerr(red(message));
  printerr(red('FAILED'));
  if (isExit) {
    exit(statusExit);
  }
}