[react-packager] Inherit from Error correctly

This commit is contained in:
Amjad Masad 2015-03-27 21:56:38 -07:00
parent 7dc411b162
commit c2b2d45b79
1 changed files with 1 additions and 1 deletions

View File

@ -713,6 +713,6 @@ function NotFoundError() {
this.status = 404;
}
NotFoundError.__proto__ = Error.prototype;
util.inherits(NotFoundError, Error);
module.exports = DependecyGraph;