src/error.js
function _gpfGenenerateErrorFunction (code, name, message) {
    var result = _gpfErrorFactory(code, name, message);
    result.CODE = code;
    result.NAME = name;
    result.MESSAGE = message;
    return result;
}
function _gpfGenenerateErrorFunction (code, name, message) {
    var result = _gpfErrorFactory(code, name, message);
    result.CODE = code;
    result.NAME = name;
    result.MESSAGE = message;
    return result;
}
function _gpfGenenerateErrorFunction ( code , name , message ) { var result = _gpfErrorFactory ( code , name , message ) ; result . CODE = code ; result . NAME = name ; result . MESSAGE = message ; return result ; }
Generates an error class

@param {Number} code Error code
@param {String} name Error name
@param {String} message Error message
@return {Function} New error class
@gpf:closure
@since 0.1.5
Generates an error class