UNPKG

vde-layout

Version:

Terminal multiplexer layout management tool for VDE (Vibe Coding Development Environment)

36 lines 1.74 kB
export declare class VDELayoutError extends Error { readonly code: string; readonly details: Record<string, unknown>; constructor(message: string, code: string, details?: Record<string, unknown>); } export declare class ConfigError extends VDELayoutError { constructor(message: string, code: string, details?: Record<string, unknown>); } export declare class ValidationError extends VDELayoutError { constructor(message: string, code: string, details?: Record<string, unknown>); } export declare class TmuxError extends VDELayoutError { constructor(message: string, code: string, details?: Record<string, unknown>); } export declare class EnvironmentError extends VDELayoutError { constructor(message: string, code: string, details?: Record<string, unknown>); } export declare const ErrorCodes: { readonly CONFIG_NOT_FOUND: "CONFIG_NOT_FOUND"; readonly CONFIG_PARSE_ERROR: "CONFIG_PARSE_ERROR"; readonly CONFIG_PERMISSION_ERROR: "CONFIG_PERMISSION_ERROR"; readonly INVALID_PRESET: "INVALID_PRESET"; readonly PRESET_NOT_FOUND: "PRESET_NOT_FOUND"; readonly INVALID_LAYOUT: "INVALID_LAYOUT"; readonly INVALID_PANE: "INVALID_PANE"; readonly TMUX_NOT_RUNNING: "TMUX_NOT_RUNNING"; readonly TMUX_COMMAND_FAILED: "TMUX_COMMAND_FAILED"; readonly NOT_IN_TMUX_SESSION: "NOT_IN_TMUX_SESSION"; readonly NOT_IN_TMUX: "NOT_IN_TMUX"; readonly TMUX_NOT_FOUND: "TMUX_NOT_FOUND"; readonly TMUX_NOT_INSTALLED: "TMUX_NOT_INSTALLED"; readonly UNSUPPORTED_TMUX_VERSION: "UNSUPPORTED_TMUX_VERSION"; }; export declare function isVDELayoutError(error: unknown): error is VDELayoutError; export declare function formatError(error: Error): string; //# sourceMappingURL=errors.d.ts.map