mirror of https://github.com/status-im/metro.git
[react-packager] Inherit from Error correctly
This commit is contained in:
parent
a895e62e6d
commit
e306f4e8d5
|
@ -713,6 +713,6 @@ function NotFoundError() {
|
||||||
this.status = 404;
|
this.status = 404;
|
||||||
}
|
}
|
||||||
|
|
||||||
NotFoundError.__proto__ = Error.prototype;
|
util.inherits(NotFoundError, Error);
|
||||||
|
|
||||||
module.exports = DependecyGraph;
|
module.exports = DependecyGraph;
|
||||||
|
|
Loading…
Reference in New Issue