@zowe/imperative
Version:
framework for building configurable CLIs
27 lines • 1 kB
JavaScript
/*
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.PluginRequireAlreadyCreatedError = void 0;
const error_1 = require("../../../../error");
/**
* This error is thrown when a second call to {@link PluginRequireProvider.createPluginHooks} has
* been made without destroying a previous hook call.
*/
class PluginRequireAlreadyCreatedError extends error_1.ImperativeError {
constructor() {
super({
msg: "Plugin requires have already been overridden. Cannot add a second hook!"
});
}
}
exports.PluginRequireAlreadyCreatedError = PluginRequireAlreadyCreatedError;
//# sourceMappingURL=PluginRequireAlreadyCreatedError.js.map
;