Pregunta de entrevista de LawPavilion

How do you handle errors globally in an ASP.NET Core API?