plugin-error
plugin-error copied to clipboard
Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor reformatting.
Imported from https://github.com/gulpjs/gulp-util/issues/74. > Currently console.log'ing the error outputs way too much: > > ``` > { [Error: error main.scss (Line 7: Invalid CSS after "@import ": expected file to...
We can probably duplicate the implementation of "custom inspect" like fancy-log does at https://github.com/gulpjs/fancy-log/blob/master/index.js#L13-L44 to avoid using the ansi-colors dependency.
Some plugins error with unhelpful messages because they don't `showStack`. It would be great if it were possible to add some way to force all `PluginError`s in a program to...
As per https://github.com/gulpjs/plugin-error/issues/8#issuecomment-358121678 > I think that a better solution could be to update the readme to explain why you should use plugin-error: "Error handling for Vinyl plugins." is a...