gulpjs/gulp-util — pull request #53 by mtscout6 (2014-07-02 16:54:03+00:00)
Title: Expose option to override properties included on Plugin Error, copy all properties from original error by default

Currently when you create a PluginError with an existing error the properties of the original error are lost unless they are included on an internal list of white listed properties. I propose two enhancements:

1. Provide a means to override the white listed properties.
2. If no white list properties are provided, then include all properties from the original error.