@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
16 lines • 787 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
import { SoloError } from '../solo-error.js';
import { ErrorOwnership } from '../error-ownership.js';
import { ErrorCodeRegistry } from '../error-code-registry.js';
export class DeploymentAlreadyExistsSoloError extends SoloError {
retryable = false;
ownership = ErrorOwnership.User;
constructor(deploymentName, cause) {
super({
message: `A deployment named '${deploymentName}' already exists. Please select a different name`,
code: ErrorCodeRegistry.DEPLOYMENT_NAME_ALREADY_EXISTS,
troubleshootingSteps: 'Check existing deployments: solo deployment list\nChoose a different name for your deployment',
}, cause);
}
}
//# sourceMappingURL=deployment-already-exists-solo-error.js.map