@Override
    protected IPolicyErrorWriter getErrorWriter() {
        return WarGateway.errorFormatter;
    }
@see io.apiman.gateway.platforms.servlet.GatewayServlet#getErrorWriter()
gateway/platforms/war/src/main/java/io/apiman/gateway/platforms/war/servlets/WarGatewayServlet.java