How do you access the Source Error, Source File and Line Number of an exception to use in a custom e
- by Iain Fraser
Basically I want to take the following:
And make it match the styling of the rest of the application.
I am creating a custom error page in my C# based project and I want it to be able to show the same information that is displayed in the ASP.NET default error page. From fiddling with reflector I can see that this is generated through HttpException.GetHtmlErrorMessage() but when I try to use this in my exception it returns null.