ConfigErrors class

A collection of configuration-related error messages and warnings.

This class provides standardized error messages and warnings that are displayed when configuration file issues are encountered during the translations code generation process.

These messages help users understand and resolve configuration problems such as missing or unspecified configuration files.

Example usage:

if (configFile == null) {
  print(ConfigErrors.configNotSpecifiedError);
}

See also:

Constructors

ConfigErrors()

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

configNotFoundWarning String
Warning message displayed when translations_code_gen.yaml is not found.
final
configNotSpecifiedError String
Error message displayed when no configuration is specified.
final