mirror of
https://github.com/status-im/metro.git
synced 2025-03-02 03:30:53 +00:00
[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…
x
Reference in New Issue
Block a user