hasProblematicErrors property

bool get hasProblematicErrors

Checks if the site has any problematic error patterns

Implementation

bool get hasProblematicErrors {
  final problematicPatterns = [
    'connection closed',
    'connection reset',
    'timeout',
    'ssl',
    'certificate',
  ];

  for (final pattern in problematicPatterns) {
    if (hasErrorPattern(pattern)) {
      return true;
    }
  }

  return false;
}