pub fn create_transaction_error( status: &Result<(), TransactionError>, ) -> Option<TransactionError>