ProcessPackageExecutableNotFoundException constructor

const ProcessPackageExecutableNotFoundException(
  1. String executable, {
  2. List<String> arguments = const <String>[],
  3. String message = '',
  4. int errorCode = 0,
  5. String? workingDirectory,
  6. List<String> candidates = const <String>[],
  7. List<String> searchPath = const <String>[],
})

Creates a const ProcessPackageExecutableNotFoundException

The optional candidates are the files matching the expected executable on the searchPath.

The optional searchPath is the list of directories searched for the expected executable.

See ProcessPackageException for more information.

Implementation

const ProcessPackageExecutableNotFoundException(
  super.executable, {
  super.arguments,
  super.message,
  super.errorCode,
  super.workingDirectory,
  this.candidates = const <String>[],
  this.searchPath = const <String>[],
});