You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor changes.
4
4
@@ -18,16 +18,16 @@ var PluginError = require('plugin-error');
18
18
19
19
**Params**
20
20
21
-
-`pluginName` should be the module name of your plugin
22
-
-`message`**{String|Object}**: may be a string or an existing error object
23
-
-`options`**{Object}**
21
+
*`pluginName` should be the module name of your plugin
22
+
*`message`**{String|Object}**: may be a string or an existing error object
23
+
*`options`**{Object}**
24
24
25
25
**Behavior:**
26
26
27
-
- By default the stack will not be shown. Set `options.showStack` to true if you think the stack is important for your error.
28
-
- If you pass an error object as the message the stack will be pulled from that, otherwise one will be created.
29
-
- If you pass in a custom stack string you need to include the message along with that.
30
-
- Error properties will be included in `err.toString()`, but may be omitted by including `{showProperties: false}` in the options.
27
+
* By default the stack will not be shown. Set `options.showStack` to true if you think the stack is important for your error.
28
+
* If you pass an error object as the message the stack will be pulled from that, otherwise one will be created.
29
+
* If you pass in a custom stack string you need to include the message along with that.
30
+
* Error properties will be included in `err.toString()`, but may be omitted by including `{showProperties: false}` in the options.
31
31
32
32
**Examples**
33
33
@@ -53,11 +53,11 @@ var err = new PluginError('test', existingError, {showStack: true});
53
53
54
54
## Related projects
55
55
56
-
*[assemble](http://assemble.io): Static site generator for Grunt.js, Yeoman and Node.js. Used by… [more](http://assemble.io)
57
-
*[generate](https://github.com/generate/generate): Project generator, for node.js.
56
+
*[assemble](http://assemble.io): Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… [more](http://assemble.io)
58
57
*[gulp-util](https://github.com/wearefractal/gulp-util): Utility functions for gulp plugins
59
58
*[gulp](http://gulpjs.com): The streaming build system
60
-
*[verb](https://github.com/assemble/verb): Documentation generator for GitHub projects. Extremely powerful, easy to use,… [more](https://github.com/assemble/verb)
59
+
*[generate](https://github.com/generate/generate): Project generator, for node.js.
60
+
*[verb](https://github.com/assemble/verb): Documentation generator for GitHub projects. Extremely powerful, easy to use, can generate anything from API… [more](https://github.com/assemble/verb)
61
61
62
62
## Running tests
63
63
@@ -85,10 +85,6 @@ Released under the MIT license.
85
85
86
86
***
87
87
88
-
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 26, 2015._
88
+
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 01, 2015._
89
89
90
90
<!-- reflinks generated by verb-reflinks plugin -->
0 commit comments