HostnameLabelMalformed class final
label is empty, or opens or closes with a hyphen, which RFC 1123 keeps for the interior.
- Inheritance
-
- Object
- HostnameFailure
- HostnameLabelMalformed
Constructors
- HostnameLabelMalformed(String label)
-
Creates the failure.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String
-
The offending label, empty when 2 dots met.
final
- message → String
-
What went wrong, like
'failed the mod-97 check', for logs.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeName → String
-
The value type that refused the input, like
'Iban'.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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override