pub fn hourly_error_stats( pool: &DbPool, project_id: Option<i64>, hours: i64, ) -> Result<Vec<ErrorTrendPoint>>
Get overall hourly error counts (for error index chart)