gulpjs/gulp-util

consider externalizing PluginError?

Closed this issue · 3 comments

Would you consider making PluginError a module? I have a number of plugins that only use this method, and we also use PluginError in non-gulp applications that use vinyl/vinyl-fs.

I just created a module to do this, but would be happy to transfer to gulpjs and/or do pr to gulp-util to use that module (wherever it lives). fwiw, only formatting changes were made the module I created, no changes to actual behavior - but I'd be happy to make whatever changes are necessary to those as well.

I believe @contra was working on this at https://github.com/wearefractal/BetterError

yep ^

nice, that's perfect. thanks

edit: or at least will be once it's updated