ShellException.process constructor

ShellException.process(
  1. String msg, {
  2. ShellProcessResult? result,
  3. ShellCommand? command,
  4. ProcessCmd? processCmd,
})

Shell exception

Implementation

factory ShellException.process(
  String msg, {
  ShellProcessResult? result,
  // The command parsed
  ShellCommand? command,
  // The executed command
  ProcessCmd? processCmd,
}) => _ShellException(
  message: msg,
  shellProcessResult: result,
  shellCommand: command,
  command: processCmd,
);