ExitException class
An exception that can be thrown to exit the command with a specific exit code.
- Implemented types
Constructors
- ExitException(int exitCode)
- Creates an instance of ExitException with a given exit code.
- ExitException.error()
- Creates an instance of ExitException with a general error exit code (1).
- ExitException.ok()
- Creates an instance of ExitException with an OK exit code (0).
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited