Global Exception Handling in Asp.NET API using Middleware

image from vngeeks.com

Why Global Exception Handling?