method PrinterService.error PrinterService.error(message: string,icon?: Icon,): Promise<void> Print an ERROR level message on stderr. Will be displayed as red content if colorEnabled is true. Parameters message: string the message to output. optional icon: Icon optional icon to display with the message. Return Type Promise<void>