src/core/pSeries.js
function onRejected (error) {
  return {
    fullFilled: false,
    rejected: true,
    value: null,
    reason: error
  }
}
function onRejected (error) {
  return {
    fullFilled: false,
    rejected: true,
    value: null,
    reason: error
  }
}
function onRejected ( error ) { return { fullFilled : false , rejected : true , value : null , reason : error } }
Returns an object containing enough info whether
the promises was rejected or not.

@method onRejected

@param {Object} error

@returns {Object}
Returns an object containing enough info whether the promises was rejected or not .