aws-cdk
Version:
AWS CDK Toolkit CLI, the command line tool for CDK apps
14 lines (13 loc) • 478 B
TypeScript
interface PrettyErrorPrinterOptions {
/**
* Print the error as an expected outcome, for example when a user declined a confirmation prompt.
* While thrown as exceptions, these should visually not be presented as a crash.
*/
readonly soft: boolean;
/**
* Prints as much debug output as possible.
*/
readonly debug: boolean;
}
export declare function prettyPrintError(error: unknown, options?: PrettyErrorPrinterOptions): void;
export {};