ProcessPackageExecutableNotFoundException constructor Null safety

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(
  String executable, {
  List<String> arguments = const <String>[],
  String message = "",
  int errorCode = 0,
  String? workingDirectory,
  this.candidates = const <String>[],
  this.searchPath = const <String>[],
}) : super(
        executable,
        arguments: arguments,
        message: message,
        errorCode: errorCode,
        workingDirectory: workingDirectory,
      );