ghaction-upx/node_modules/jest-resolve/build/ModuleNotFoundError.js

37 lines
761 B
JavaScript
Raw Normal View History

2020-01-23 01:49:02 -07:00
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = void 0;
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
class ModuleNotFoundError extends Error {
constructor(...args) {
super(...args);
_defineProperty(this, 'code', 'MODULE_NOT_FOUND');
}
}
exports.default = ModuleNotFoundError;