machadogj/node-simple-errors — pull request #1 by silviom (2013-02-25 21:30:10+00:00)
Title: Some improvements

I added these improvements:

- Error.create method:
Now it supports values of any type as 'data' and 'inner' error.

- Error.http method:
Swaped the order of parameters 'code' and 'msg'.
Added a default description when parameter 'msg' is missing
Added a new parameter 'data' to the method