RunException.fromException constructor

RunException.fromException(
  1. Object exception,
  2. String? cmd,
  3. List<String?> args, {
  4. Trace? stackTrace,
})

Implementation

RunException.fromException(
  Object exception,
  String? cmd,
  List<String?> args, {
  Trace? stackTrace,
})  : cmdLine = '$cmd ${args.join(' ')}',
      reason = exception.toString(),
      exitCode = -1,
      super(exception.toString(), stackTrace);