ProcessPackageException.fromProcessException constructor
- ProcessException exception, {
- String? workingDirectory,
Creates a ProcessPackageException from a ProcessException.
Implementation
factory ProcessPackageException.fromProcessException(
ProcessException exception, {
String? workingDirectory,
}) {
return ProcessPackageException(
exception.executable,
arguments: exception.arguments,
message: exception.message,
errorCode: exception.errorCode,
workingDirectory: workingDirectory,
);
}