exitWithError method

Future<void> exitWithError(
  1. Object error
)
inherited

Terminates the CLI app with errors.

Implementation

Future<void> exitWithError(final Object error) async {
  hasErrors = true;
  await _terminate(error: error, showStacktrace: false);
}