[react-packager] Inherit from Error correctly
This commit is contained in:
parent
7dc411b162
commit
c2b2d45b79
|
@ -713,6 +713,6 @@ function NotFoundError() {
|
|||
this.status = 404;
|
||||
}
|
||||
|
||||
NotFoundError.__proto__ = Error.prototype;
|
||||
util.inherits(NotFoundError, Error);
|
||||
|
||||
module.exports = DependecyGraph;
|
||||
|
|
Loading…
Reference in New Issue