how to deal with error pages ? for e.g this is my web.config file :
<customErrors mode="RemoteOnly" defaultRedirect="ErrorPages/404.aspx" redirectMode="ResponseRedirect">
<error statusCode="404" redirect="ErrorPages/404.aspx" />
<error statusCode="500" redirect="ErrorPages/500.aspx" />
</customErrors>
<system.webServer>
<httpErrors errorMode="Custom" existingResponse="Auto">
<remove statusCode="500" subStatusCode="-1" />
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" path="ErrorPages/404.aspx" responseMode="Redirect" />
<error statusCode="500" path="ErrorPages/500.aspx" responseMode="Redirect" />
</httpErrors>
</system.webServer>
now i only know about 400 , that it appears when page is not found .. but what about 500 ? 300 ? 200 ? ?? when these occurs and what they tell a developer to do ?