ProcessPackageException class Null safety
A specialized exception class for this package, so that it can throw customized exceptions with more information.
- Inheritance
-
- Object
- ProcessException
- ProcessPackageException
- 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.
finalinherited
- errorCode → int
-
The OS error code for the process exception, if any.
finalinherited
- executable → String
-
The executable provided for the process.
finalinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- message → String
-
The system message for the process exception, if any.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- 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