public IServiceStackHandler GetNotFoundHandler()
{
IServiceStackHandler httpHandler = null;
if (CustomErrorHttpHandlers != null)
{
CustomErrorHttpHandlers.TryGetValue(HttpStatusCode.NotFound, out httpHandler);
}
return httpHandler ?? new NotFoundHttpHandler();
}