Skip to main content

validate_iso4217

Function validate_iso4217 

Source
pub fn validate_iso4217(
    field: &'static str,
    value: &str,
) -> Result<(), CoolError>
Expand description

ISO 4217 currency codes are 3 ASCII uppercase letters. We do not enforce the registered set here — that table churns and is downstream policy. Banks typically pin allowed currencies via a separate allow-list anyway.