@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
17 lines • 1.5 kB
JavaScript
/**
* SPDX-License-Identifier: Apache-2.0
*/
export const ErrorMessages = {
LOCAL_CONFIG_CURRENT_DEPLOYMENT_DOES_NOT_EXIST: 'The selected deployment does not correspond to a deployment in the local configuration',
LOCAL_CONFIG_GENERIC: 'Validation of local config failed',
LOCAL_CONFIG_INVALID_EMAIL: 'Invalid email address provided',
LOCAL_CONFIG_INVALID_DEPLOYMENTS_FORMAT: 'Wrong deployments format',
LOCAL_CONFIG_CONTEXT_CLUSTER_MAPPING_FORMAT: 'Wrong clusterRefs format',
LOCAL_CONFIG_INVALID_SOLO_VERSION: 'Invalid solo version',
INVALID_CONTEXT_FOR_CLUSTER: (context, cluster) => `Context ${context} is not valid for cluster ${cluster || ''}`,
INVALID_CONTEXT_FOR_CLUSTER_DETAILED: (context, cluster) => `Context ${context} is not valid for cluster ${cluster || ''}. Please select a valid context for the cluster or use kubectl to create a new context and try again`,
REMOTE_CONFIGS_DO_NOT_MATCH: (cluster1, cluster2) => `The remote configurations in clusters ${cluster1} and ${cluster2} do not match. They need to be synced manually. Please select a valid context for the cluster or use kubectl to create a new context and try again.`,
REMOTE_CONFIG_IS_INVALID: (cluster) => `The remote configuration in cluster ${cluster} is invalid and needs to be fixed manually`,
DEPLOYMENT_NAME_ALREADY_EXISTS: (deploymentName) => `A deployment named ${deploymentName} already exists. Please select a different name`,
};
//# sourceMappingURL=error_messages.js.map