Pergunta de entrevista da empresa LawPavilion

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