GenerateErrors class

A collection of generation mode related error messages.

This class provides standardized error messages that are displayed when invalid or unsupported generation modes are specified during the translations code generation process.

These messages help users understand which generation modes are supported and guide them to use valid options.

Example usage:

if (!isValidGenerateMode(mode)) {
  print(GenerateErrors.invalidGenerateModeError);
}

See also:

Constructors

GenerateErrors()

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

invalidGenerateModeError String
Error message displayed when an invalid generation mode is specified.
final