我在 youtube 上看到如何处理自定义错误,但它是与 web.config 一起使用的,而在 dotnet core 2.2 中它没有此文件,或者我没有通过 Visual Studio 2019 找到它。
custom-error-pages asp.net-core-mvc asp.net-core-2.2
asp.net-core-2.2 ×1
asp.net-core-mvc ×1
custom-error-pages ×1