UserInputRequiredException class

Thrown in --non-interactive mode when a command reaches a prompt that needs user input.

Inheritance
Implemented types

Constructors

UserInputRequiredException.confirmation(String prompt)
A y/n confirmation prompt, which --yes can answer.
factory
UserInputRequiredException.input(String prompt)
A free text input prompt, which has no non-interactive answer.
factory

Properties

errors → List<String>
The error messages for this failure, if any, in a user-friendly format.
finalinherited
exitCode → int
The exit code to use.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
hint → String?
The user hint relevant for this failure, if any.
finalinherited
nestedException → Exception?
The exception that caused this failure, if any.
finalinherited
nestedStackTrace → StackTrace?
The stack trace of the exception that caused this failure, if any.
finalinherited
reason → String?
The technical reason for this failure, if known. Might be technical rather than user-friendly.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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