C# Class Contrive.Common.Web.Errors.HttpErrorHandler

Show file Open project: alanstevens/Contrive

Public Methods

Method Description
HandleError ( System.Web.HttpContextBase context, int statusCode ) : void
HttpErrorHandler ( IWebConfigurationProvider configurationProvider, IErrorViewRenderer errorViewRenderer ) : System.Diagnostics

Private Methods

Method Description
UseCustomErrors ( bool isLocal ) : bool

Method Details

HandleError() public method

public HandleError ( System.Web.HttpContextBase context, int statusCode ) : void
context System.Web.HttpContextBase
statusCode int
return void

HttpErrorHandler() public method

public HttpErrorHandler ( IWebConfigurationProvider configurationProvider, IErrorViewRenderer errorViewRenderer ) : System.Diagnostics
configurationProvider IWebConfigurationProvider
errorViewRenderer IErrorViewRenderer
return System.Diagnostics