UNPKG

liveperson-functions-cli

Version:
15 lines (14 loc) 524 B
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; }