RunException class Null safety

Thrown when any of the process related method such as .run and .start fail.

Inheritance

Constructors

RunException(String cmdLine, int? exitCode, String reason, {StackTraceImpl? stackTrace})
RunException.withArgs(String? cmd, List<String?> args, int? exitCode, String reason, {StackTraceImpl? stackTrace})

Properties

cause Object?
If DCliException is wrapping another exception then this is the exeception that is wrapped.
final, inherited
cmdLine String
The command line that was being run.
read / write
exitCode int?
the exit code of the command.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
read-only, override
reason String
the error.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTraceImpl
read / write, inherited

Methods

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

Operators

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