error function

void error(
  1. String str
)

Implementation

void error(String str) {
  log(str, color: red);
  exit(0);
}