code: function cancelAndDiscard() {
          var self = this;
          return storeTaskRunner.run(function() {
              
              // Operation to delete the data record
              var dataDeleteOperation = {
                  tableName: pushOperation.logRecord.tableName,
                  action: 'delete',
                  id: pushOperation.logRecord.itemId
              };
              
              // Operation to delete the log record
              var logDeleteOperation = {
                  tableName: operationTableName,
                  action: 'delete',
                  id: pushOperation.logRecord.id
              };
              
              // Execute the log and data operations
              var operations = [dataDeleteOperation, logDeleteOperation];
              return store.executeBatch(operations).then(function() {
                  self.isHandled = true;
              });
          });
      }
docs: Cancels the push operation for the current record and discards the record from the local store.
  This will also set {@link PushError#isHandled} to true.
  
  @function
  @instance
  @memberof PushError
  
  @returns {Promise} A promise that is fulfilled when the operation is cancelled and the client record is discarded
  and rejected with the error if `cancelAndDiscard` fails.