UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

28 lines (27 loc) 1.45 kB
import { CreateDeploymentSoloError } from './classes/create-deployment-solo-error.js'; import { DeploymentAlreadyExistsSoloError } from './classes/deployment-already-exists-solo-error.js'; import { LocalConfigNotFoundSoloError } from './classes/local-config-not-found-solo-error.js'; import { RemoteConfigsMismatchSoloError } from './classes/remote-configs-mismatch-solo-error.js'; /** * Registry of typed Solo error constructors, grouped by error code category. * * To add a new error type: * 1. Create `src/core/errors/classes/<kebab-name>.ts` — a class extending SoloError, * passing a SoloErrorInit with a message, code, and optional troubleshootingSteps. * 2. Add the error code constant to `src/core/errors/error-code-registry.ts`. * 3. Import the class in this file and add it to the appropriate static namespace below. */ export declare class SoloErrors { static readonly config: { readonly localNotFound: typeof LocalConfigNotFoundSoloError; readonly remoteMismatch: typeof RemoteConfigsMismatchSoloError; }; static readonly deployment: { readonly alreadyExists: typeof DeploymentAlreadyExistsSoloError; readonly createFailed: typeof CreateDeploymentSoloError; }; static readonly component: Record<string, never>; static readonly validation: Record<string, never>; static readonly system: Record<string, never>; static readonly internal: Record<string, never>; }