private bool HadError(string matchStr = null) { return HadErrorOrWarning(matchStr, _errorMessages); }