mirror of
https://github.com/status-im/metro.git
synced 2025-02-03 06:43:59 +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;
|
||||
}
|
||||
|
||||
NotFoundError.__proto__ = Error.prototype;
|
||||
util.inherits(NotFoundError, Error);
|
||||
|
||||
module.exports = DependecyGraph;
|
||||
|
Loading…
x
Reference in New Issue
Block a user