consider externalizing PluginError?
Closed this issue · 3 comments
jonschlinkert commented
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.
phated commented
I believe @contra was working on this at https://github.com/wearefractal/BetterError
yocontra commented
yep ^
jonschlinkert commented
nice, that's perfect. thanks
edit: or at least will be once it's updated