export declare class CliError extends Error { readonly code: string; constructor(message: string, code: string); } export declare class NetworkError extends CliError { readonly url: string; constructor(message: string, url: string); } export declare class ConfigError extends CliError { constructor(message: string); } /** * The registry publishes a newer format than this CLI knows how to read. * * It has its own class because it is the one registry read error that must NOT * become a fallback: a missing file or a response that is not JSON are reasons * to carry on with the local copy, but a format we do not understand is a reason * to stop — carrying on would mean reading the wrong content and believing it. */ export declare class SchemaVersionError extends CliError { constructor(message: string); } export declare class InstallError extends CliError { readonly component: string; constructor(message: string, component: string); } //# sourceMappingURL=errors.d.ts.map