lifen-autotest/node_modules/listr2/dist/interfaces/listr-error.interface.d.ts

12 lines
374 B
TypeScript

/** The internal error handling mechanism.. */
export declare class ListrError extends Error {
message: string;
errors?: Error[];
context?: any;
constructor(message: string, errors?: Error[], context?: any);
}
/** The internal error handling mechanism for prompts only. */
export declare class PromptError extends Error {
constructor(message: string);
}