Skip to main content

CURRENCY_FORM

Constant CURRENCY_FORM 

const CURRENCY_FORM: &str = "a three-letter ISO 4217 code in upper case, such as USD";
Expand description

The shape a currency code must have, named on rejection.

ISO 4217 has some 180 codes and listing them would bury the correction. Nearly every rejection here is a case mistake ("usd"), so the message states the form rather than enumerating the space.