UNPKG

523 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}
8/**
9 * Raised when we're unable to find a package.json
10 */
11export declare class UnknownProjectError extends Error {
12}
13export declare const inlineString: (str: string) => string;
14//# sourceMappingURL=errors.d.ts.map
\No newline at end of file