@bluecadet/launchpad-cli
Version:
CLI for @bluecadet/launchpad utilities
39 lines • 1 kB
TypeScript
/**
* Custom error classes for the Launchpad CLI package.
* All errors support the `cause` parameter for error chaining.
*/
/**
* Base error class for all CLI-related errors.
*/
declare class LaunchpadCLIError extends Error {
readonly cause?: Error;
constructor(message: string, options?: {
cause?: Error;
});
}
/**
* Thrown when configuration file loading or validation fails.
*/
export declare class ConfigError extends LaunchpadCLIError {
constructor(message: string, options?: {
cause?: Error;
});
}
/**
* Thrown when the daemon/controller is not running.
*/
export declare class DaemonNotRunningError extends LaunchpadCLIError {
constructor(options?: {
cause?: Error;
});
}
/**
* Thrown when IPC communication with the controller fails.
*/
export declare class IPCConnectionError extends LaunchpadCLIError {
constructor(message: string, options?: {
cause?: Error;
});
}
export {};
//# sourceMappingURL=errors.d.ts.map