xerror : Error wrapper including things like error code, data, and cause for Node.JS. You can installing xerror npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install xerror $ sudo npm install -g xerror
If want to update the xerror package execute the command as below,
$ sudo npm update xerror
Update package globally,
$ npm install -g xerror
$ sudo git clone https://github.com/rektide/xerror.git
$ sudo npm install -g ./xerror
xerror@1.1.2 /usr/lib/node_modules/xerror
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall xerror
| Package Name | xerror |
| Version | 1.1.2 |
| Description | Error wrapper including things like error code, data, and cause for Node.JS |
| Released Date | 2016-11-30T16:06:42.852Z |
| Published by | crispy1989 |
| How to Learn | https://www.npmjs.com/package/xerror/tutorial |