C# Class Pomona.DefaultErrorHandler

Inheritance: IStatusCodeHandler
Mostrar archivo Open project: Pomona/Pomona

Public Methods

Method Description
Handle ( HttpStatusCode statusCode, Nancy.NancyContext context ) : void
HandlesStatusCode ( HttpStatusCode statusCode, Nancy.NancyContext context ) : bool

Protected Methods

Method Description
UnwrapException ( Exception exception ) : Exception

Method Details

Handle() public method

public Handle ( HttpStatusCode statusCode, Nancy.NancyContext context ) : void
statusCode HttpStatusCode
context Nancy.NancyContext
return void

HandlesStatusCode() public method

public HandlesStatusCode ( HttpStatusCode statusCode, Nancy.NancyContext context ) : bool
statusCode HttpStatusCode
context Nancy.NancyContext
return bool

UnwrapException() protected method

protected UnwrapException ( Exception exception ) : Exception
exception System.Exception
return System.Exception