@Override
public HttpHandler createHttpHandler(Predicate predicate, ModelNode model, HttpHandler next) {
int code = model.get(CODE.getName()).asInt();
String path = model.get(PATH.getName()).asString();
FileErrorPageHandler handler = new FileErrorPageHandler(Paths.get(path).toFile(), code);
handler.setNext(next);
return Handlers.predicate(predicate, handler, next);
}