pub fn parse_settlement_error(
e: InstructionError,
) -> Result<SettlementError, InstructionError>Expand description
Decodes the settlement error from an instruction that failed in the settlement program, handing back the original error if it isn’t a known settlement error code.