Skip to main content

map_code

Function map_code 

Source
pub(super) fn map_code(
    endpoint: SuotarEndpoint,
    code: &str,
) -> Option<CreditRegistrationErrorCode>
Expand description

Suotar’s per-item code as a ledger error code, hardened for the endpoint it arrived on. None where the code names no failure to record.