mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 23:24:06 +08:00
[react-packager] Inherit from Error correctly
This commit is contained in:
@@ -713,6 +713,6 @@ function NotFoundError() {
|
||||
this.status = 404;
|
||||
}
|
||||
|
||||
NotFoundError.__proto__ = Error.prototype;
|
||||
util.inherits(NotFoundError, Error);
|
||||
|
||||
module.exports = DependecyGraph;
|
||||
|
||||
Reference in New Issue
Block a user