Method | Description | |
---|---|---|
Handle ( HttpStatusCode statusCode, Nancy.NancyContext context ) : void |
Handle the error code.
|
|
HandlesStatusCode ( HttpStatusCode statusCode, Nancy context ) : bool |
Check if the error handler can handle errors of the provided status code.
|
Method | Description | |
---|---|---|
ShouldReturnFriendlyErrorPage ( Nancy.NancyContext context ) : bool |
Determines if a friendly error page should be returned for a T:Nancy.NancyContext.
|
public Handle ( HttpStatusCode statusCode, Nancy.NancyContext context ) : void | ||
statusCode | HttpStatusCode | The HTTP status code. |
context | Nancy.NancyContext | Current context of the request. |
return | void |
public HandlesStatusCode ( HttpStatusCode statusCode, Nancy context ) : bool | ||
statusCode | HttpStatusCode | The HTTP status code. |
context | Nancy | The |
return | bool |