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