TRONIX Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Tronix.Web.Controllers.ErrorController Class Reference

NOTE: All of the HTTP 4* and 5* errors below are decorated as accepting any of the allowable HTTP verbs (see the full list at http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol). The reason for this is that our error handling performs a Server.TransferRequest so that users can just hit F5 to refresh any pages with errors instead of being redirected. This is fine unless the user just performed an HTTP POST to the server - the transfer request also transfers the verb action, so MVC has to accept any potential HTTP verb here so that the error can correctly propagate back to the user instead of receiving an HTTP 404. More...

Inheritance diagram for Tronix.Web.Controllers.ErrorController:
Inheritance graph
[legend]
Collaboration diagram for Tronix.Web.Controllers.ErrorController:
Collaboration graph
[legend]

Public Member Functions

ActionResult Index ()
 
ActionResult BadRequest ()
 
ActionResult UnAuthorized ()
 
ActionResult NotFound ()
 

Detailed Description

NOTE: All of the HTTP 4* and 5* errors below are decorated as accepting any of the allowable HTTP verbs (see the full list at http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol). The reason for this is that our error handling performs a Server.TransferRequest so that users can just hit F5 to refresh any pages with errors instead of being redirected. This is fine unless the user just performed an HTTP POST to the server - the transfer request also transfers the verb action, so MVC has to accept any potential HTTP verb here so that the error can correctly propagate back to the user instead of receiving an HTTP 404.

Member Function Documentation

◆ BadRequest()

ActionResult Tronix.Web.Controllers.ErrorController.BadRequest ( )

◆ Index()

ActionResult Tronix.Web.Controllers.ErrorController.Index ( )

◆ NotFound()

ActionResult Tronix.Web.Controllers.ErrorController.NotFound ( )

◆ UnAuthorized()

ActionResult Tronix.Web.Controllers.ErrorController.UnAuthorized ( )

The documentation for this class was generated from the following file: