ShellException class abstract
Exception thrown in exitCode != 0 and throwOnError is true
- Implemented types
Constructors
- ShellException(String msg, ProcessResult? result, {ProcessCmd? command})
-
Shell exception
@deprecated
factory
- ShellException.process(String msg, {ShellProcessResult? result, ShellCommand? command, ProcessCmd? processCmd})
-
Shell exception
factory
Properties
- command → ProcessCmd?
-
Command ran if any
Deprecated
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Exception message
no setter
- result → ProcessResult?
-
Process result
Deprecated
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shellCommand → ShellCommand?
-
Prefer
no setter
- shellProcessResult → ShellProcessResult?
-
Prefer
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDebugString(
) → String - Debug complete output
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited