exitWithException method
Terminates the CLI app with exception.
Implementation
Future<void> exitWithException(
final Object error, [
final StackTrace? st,
]) async {
hasErrors = true;
await _terminate(error: error, stacktrace: st);
}
Terminates the CLI app with exception.
Future<void> exitWithException(
final Object error, [
final StackTrace? st,
]) async {
hasErrors = true;
await _terminate(error: error, stacktrace: st);
}