amis-rpc-design/node_modules/@react-native-community/cli-tools/build/errors.d.ts
2023-10-07 19:42:30 +08:00

14 lines
524 B
TypeScript

/**
* A custom Error that creates a single-lined message to match current styling inside CLI.
* Uses original stack trace when `originalError` is passed or erase the stack if it's not defined.
*/
export declare class CLIError extends Error {
constructor(msg: string, originalError?: Error | string);
}
/**
* Raised when we're unable to find a package.json
*/
export declare class UnknownProjectError extends Error {
}
export declare const inlineString: (str?: string) => string;
//# sourceMappingURL=errors.d.ts.map