SmfUsageException class final

Thrown by a role hook when the user's input cannot work, such as a missing option in a non-interactive run.

The pipeline reports message as a usage error, and the CLI exits with code 64.

Implemented types

Constructors

SmfUsageException(String message)
Creates a usage error described by message.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
What is wrong with the input and how to fix it.
final
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited