The ASP.NET developer can find information about custom error messages for an ASP.NET application by setting customErrors OFF from the web.config file.

C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development: Build applications with C#, .NET Core, Entity Framework Core, ASP.NET Core, and ML.NET using Visual Studio Code, 4th Edition
ASP.NET Core 3 and Angular 9: Full stack web development with .NET Core 3.1 and Angular 9, 3rd Edition
C# in Depth, 4th Edition

<customErrors defaultRedirect=”url”
     <error. . ./>

Setting the customErrors mode=”Off ” means that custom errors are disabled. The detailed ASP.NET errors are shown to the remote clients and to the local host.