github-pages-deploy-action/node_modules/jest-resolve/build/ModuleNotFoundError.js
2020-01-28 00:08:03 -05:00

37 lines
761 B
JavaScript

'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;