UNPKG

405 BTypeScriptView Raw
1/**
2 * A custom Error that creates a single-lined message to match current styling inside CLI.
3 * Uses original stack trace when `originalError` is passed or erase the stack if it's not defined.
4 */
5export declare class CLIError extends Error {
6 constructor(msg: string, originalError?: Error | string);
7}
8export declare const inlineString: (str: string) => string;
9//# sourceMappingURL=errors.d.ts.map
\No newline at end of file