liveperson-functions-cli
Version:
LivePerson Functions CLI
15 lines (14 loc) • 524 B
TypeScript
import { PrettyPrintableError } from '@oclif/core/lib/interfaces';
export declare class ErrorMessage {
private chalk;
constructor(chalk?: any);
/**
* Prints an error message with bold and red
* @param {string} message - message
* @param {...any[]} optionalParams - optionalParams
* @memberof ErrorMessage
*/
print(message: string | PrettyPrintableError, ...optionalParams: any[]): void;
private printPretty;
static isPrettyError(error: any): error is PrettyPrintableError;
}