ProcessPackageException class Null safety

A specialized exception class for this package, so that it can throw customized exceptions with more information.

Inheritance
Implementers

Constructors

ProcessPackageException(String executable, {List<String> arguments = const <String>[], String message = "", int errorCode = 0, String? workingDirectory})
Create a const ProcessPackageException. [...]
const
ProcessPackageException.fromProcessException(ProcessException exception, {String? workingDirectory})
Creates a ProcessPackageException from a ProcessException.
factory

Properties

arguments List<String>
The arguments provided for the process.
final, inherited
errorCode int
The OS error code for the process exception, if any. [...]
final, inherited
executable String
The executable provided for the process.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
The system message for the process exception, if any. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
workingDirectory String?
The optional working directory that the command was being executed in.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited