| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1 1 14 4 1 | 'use strict';
var PluginError = require('gulp-util').PluginError;
/**
* @param {String} namespace
* @return {Function}
*/
var errorFactory = function(namespace)
{
return function(message) {
return new PluginError(namespace, message);
};
};
/**
* @type {errorFactory}
*/
module.exports = errorFactory;
|