Skip to content
Browse files

[dist] 0.2.0

* added docs for merge function
* bumped to 0.2
  • Loading branch information...
1 parent 6e94990 commit 9c92fb39f266338f77c9fe69e717a78ee7c28800 @dscape committed Mar 2, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 README.md
  2. +1 −1 package.json
View
1 README.md
@@ -155,6 +155,7 @@ The `errs` modules exposes some simple utility methods:
* `.register(type, proto)`: Registers the specified `proto` to `type` for future calls to `errors.create(type, opts)`.
* `.unregister(type)`: Unregisters the specified `type` for future calls to `errors.create(type, opts)`.
* `.handle(err, callback)`: Attempts to instantiate the given `error`. If the `error` is already a properly formed `error` object (with a `stack` property) it will not be modified.
+* `.merge(err, type, opts)`: Merges an existing error with a new error instance for with the specified `type` and `opts`.
## Installation
View
2 package.json
@@ -1,7 +1,7 @@
{
"name": "errs",
"description": "Simple error creation and passing utilities",
- "version": "0.1.2",
+ "version": "0.2.0",
"author": "Nodejitsu <info@nodejitsu.com>",
"contributors": [
{ "name": "Charlie Robbins", "email": "charlie@nodejitsu.com" },

0 comments on commit 9c92fb3

Please sign in to comment.
Something went wrong with that request. Please try again.