pub fn instruction_to_nonce_error( error: &InstructionError, use_system_variant: bool ) -> Option<NonceError>