AFCommandError class
If thrown within an AFib command, shows the usage for the command followed by the error message.
You do not need to provide the usage, AFib will provide it from the command's standard usage.
- Implemented types
Constructors
- AFCommandError({required String error, String? usage})
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