errorProcessor method
If the implementation of ServerBase
captures an error stream,
it can use this to forward the errors to listener
and stderr if
appropriate.
Implementation
void errorProcessor(
String line, NotificationProcessor? notificationProcessor) {
if (_stdioPassthrough) stderr.writeln(line);
var trimmedLine = line.trim();
listener?.errorMessage(trimmedLine);
}