Writing this post since I was trying to find how to handle custom error in Sitecore 9.3 and found too many posts that was confusing since they are trying to modify the Global.asax and trying to handle error that way. It is not the best practice to modify Global.asax the was put by Sitecore. You…