[react-packager] Inherit from Error correctly

This commit is contained in:
Amjad Masad 2015-03-27 21:56:38 -07:00
parent a895e62e6d
commit e306f4e8d5
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;