Top 5 most common errors
List<MapEntry<String, int>> get topErrors { final entries = _errorCounts.entries.toList() ..sort((a, b) => b.value.compareTo(a.value)); return entries.take(5).toList(); }