export declare class Exception extends Error { /** 错误代码 */ protected code: string; constructor(message: string, code?: string); } export declare type ICliExceptionType = 'Option' | 'NotFound'; export declare class CliException extends Exception { private type; constructor(exceptionType: ICliExceptionType, message: string, code?: string); getMessage(): string; }