Why an amount is not usable. Codes rather than sentences: L2 ships no user-facing copy, so the
consumer maps these to their own wording.
Example
constMESSAGES: Record<TokenAmountError, string> = { 'not-a-number':'Enter an amount', 'too-many-decimals':'At most 10 decimal places', 'too-large':'Larger than the ledger can hold', 'above-max':'More than you hold', 'invalid-max':'Balance unavailable', }
Why an amount is not usable. Codes rather than sentences: L2 ships no user-facing copy, so the consumer maps these to their own wording.