@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
22 lines (18 loc) • 689 B
text/typescript
// 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 LocalConfigNotFoundSoloError extends SoloError {
protected override readonly retryable: boolean = false;
protected override readonly ownership: ErrorOwnership = ErrorOwnership.User;
public constructor(cause?: Error) {
super(
{
message: 'Local configuration file not found',
code: ErrorCodeRegistry.LOCAL_CONFIG_NOT_FOUND,
troubleshootingSteps: 'Create a local config: solo deployment config create',
},
cause,
);
}
}