BashCommandException class
Exception thrown when a BashCommand fails containing all the information about the script and its error
- Implemented types
Constructors
-
BashCommandException({required String script, required String commandName, required List<
String> arguments, required int exitCode, required StackTrace stack, required Object cause}) -
const
Properties
-
arguments
→ List<
String> -
The arguments passed into the command
final
- cause → Object
-
The original exception from dcli
final
- commandName → String
-
The name of the command that executed this script
final
- exitCode → int
-
The exit code of the script that caused the error. (Always !=
0
)final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- script → String
-
The actual script content that was executed
final
- stack → StackTrace
-
The complete stacktrace, going into dcli which was ultimately executing this script
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited