PromptAbortedException class
Thrown when a wizard runs out of input before it has an answer.
Reaching end-of-input is not a crash: it is what happens when a wizard is started from CI, from a pipe, or when the user presses Ctrl-D. Without it a re-asking prompt would spin forever on a stream that can never answer.
- Implemented types
Constructors
- PromptAbortedException([String message = 'no input available; pass the values as options instead ' 'of using the wizard'])
-
Creates an abort carrying an actionable
message.const
Properties
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