Skip to content

Glossary: ASP.NET Core

UseExceptionHandler

Also written: UseStatusCodePages

Middleware that catches exceptions, logs them and returns a 500 problem without a stack trace. `UseStatusCodePages()` adds problem bodies to bare errors like 404.

Where the book teaches it

Related terms

Problem detailsDeveloper Exception Page