index.js
function extendError(pError, error) {
		if (error && (typeof error === 'object')) {
			['name', 'errno'].forEach(function(property) {
				if (property in error) {
					this[property]	= error[property];
				}
			}, pError);
		}

		return pError;
	}
function extendError(pError, error) {
		if (error && (typeof error === 'object')) {
			['name', 'errno'].forEach(function(property) {
				if (property in error) {
					this[property]	= error[property];
				}
			}, pError);
		}

		return pError;
	}
function extendError ( pError , error ) { if ( error && ( typeof error === 'object' ) ) { [ 'name' , 'errno' ] . forEach ( function ( property ) { if ( property in error ) { this [ property ] = error [ property ] ; } } , pError ) ; } return pError ; }
Extend plugin error
Extend plugin error