public static GremlinError longFrame(Throwable t) {
        final String message = t.getMessage() + " - increase the maxRequestContentLength";
        // todo: ResponseEntityTooLargeException? !!!
        return new GremlinError(HttpResponseStatus.REQUEST_ENTITY_TOO_LARGE, message, "RequestEntityTooLargeException");
    }
Exception utility class that generates exceptions in the form expected in a {@code ResponseStatus} for different
issues that the server can encounter.
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/util/GremlinError.java