code: function getMultipleErrors(errors) {
    var errArray, key;
  
    if (errors === null || errors === undefined) {
      return null;
    }
  
    if (typeof errors !== 'object') {
      return null;
    }
  
    if (util.isArray(errors)) {
      return errors;
    }
  
    errArray = [];
  
    for (key in errors) {
      if (Object.prototype.hasOwnProperty.call(errors, key)) {
        errArray.push(errors[key]);
      }
    }
    return errArray;
  }
docs: /*
  Internal