[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#878155: ITP: node-protoduck -- Create new error instances with a code and additional properties



Package: wnpp
Severity: wishlist
Owner: Preyass Chandran <preyassc@hotmail.com>
X-Debbugs-CC: debian-devel@lists.debian.org

* Package name    : node-protoduck
  Version         : 4.0.0
  Upstream Author : Kat Marchán <kzm@sykosomatic.org>
* URL             : https://github.com/zkat/protoduck#readme
* License         : CC0-1.0
  Programming Lang: _javascript_
  Description     : Create new error instances with a code and additional properties

New error instances creator with simple usage: 
 - fill error with message + code
 - fill error with message + code + props
 - fill error with message + props
.
You may also pass a string in the first argument and an error will be
automatically created for you, though the stack trace will contain err-code
in it.
.
 - create error with message + code
 - create error with message + code + props
 - create error with message + props
.
Node.js is an event-based server-side _javascript_ engine.

Reply to: