DnsNameFailure class sealed
Why a DnsName refused its input. Sealed rather than an enum, because most variants echo the part of the input that failed.
One fewer than Hostname needs: RFC 2181 drops the hyphen-edge and all-numeric-label rules.
- Implementers
- Annotations
-
- @immutable
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
What went wrong, like
'failed the mod-97 check', for logs.no setterinherited - 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 setter
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