NameExceptionType enum
Constructors
- NameExceptionType()
-
const
Values
- input → const NameExceptionType
-
Thrown when a name entry/argument is incorrect.
For example, a name should have a minimum of 2 characters, so an empty string or a string of one character would cause this kind of exception.
- validation → const NameExceptionType
-
Thrown when the name components don't match the validation rules if the Config.bypass is not flagged up. This bypass option skips the validation rules.
See also:
- notAllowed → const NameExceptionType
-
Thrown by not allowed operations such as in NameBuilder or name formatting.
See also:
- unknown → const NameExceptionType
-
Thrown by any other unknown sources or unexpected situation.
Properties
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
Constants
-
values
→ const List<
NameExceptionType> - A constant List of the values in this enum, in order of their declaration.