ZecAmountFault enum
Why an amount string was rejected — the axis the form's inline message keys on (never a raw code; design invariant 6). All payload-free: an amount is never-log material (§5.4), so the reason carries no value.
Values
- empty → const ZecAmountFault
-
The field is empty.
- notANumber → const ZecAmountFault
-
Not a plain decimal number (a sign, separators, letters, a second dot, …).
- tooManyDecimals → const ZecAmountFault
-
More than 8 fractional digits — ZEC's smallest unit is 1 zatoshi (1e-8).
- notPositive → const ZecAmountFault
-
Parses to zero — a zero-value send is not a payment.
- outOfRange → const ZecAmountFault
-
Above the total ZEC supply (or its whole part overflows the guard).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
ZecAmountFault> - A constant List of the values in this enum, in order of their declaration.