ArgumentsErrors class
A collection of command-line argument related error messages.
This class provides standardized error messages that are displayed when issues with command-line arguments are encountered during the translations code generation process.
These messages help users understand and resolve problems with command-line argument parsing and validation.
Example usage:
if (hasInvalidArguments) {
print(ArgumentsErrors.moreThanOneArgumentError);
}
See also:
- ConfigErrors for configuration related errors
- GenerateErrors for generation mode related errors
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Properties
- moreThanOneArgumentError → String
-
Error message displayed when more than one argument is passed or unsupported arguments are used.
final