In ASP.NET Core, the equivalent of HttpContext.IsCustomErrorEnabled is handled via IWebHostEnvironment and UseExceptionHandler or DeveloperExceptionPage, allowing environment-specific error handling and custom error pages.