I am trying to do an error page which redirect to it whenever an error occurs.
This is my code:
<customErrors defaultRedirect="Error.aspx" mode="On" />
which is working fine now how can I get the error message too on my error page
Example: Error - Index Error