pub 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.