servicetalk-grpc-netty/src/main/java/io/servicetalk/grpc/netty/GrpcUtils.java
// and is also used in the api module as that would lead to circular dependency.
and is also used in the api module as that would lead to circular dependency.
and is also used in the api module as that would lead to circular dependency .
static StreamingHttpResponse newErrorResponse(final StreamingHttpResponseFactory responseFactory,
                                                  final CharSequence contentType,
                                                  final Throwable cause,
                                                  final BufferAllocator allocator) {
        final StreamingHttpResponse response = responseFactory.ok();
        initResponse(response, contentType, null, null);
        setStatus(response.headers(), cause, allocator);
        return response;
    }
static StreamingHttpResponse newErrorResponse ( final StreamingHttpResponseFactory responseFactory , final CharSequence contentType , final Throwable cause , final BufferAllocator allocator ) { final StreamingHttpResponse response = responseFactory . ok ( ) ; initResponse ( response , contentType , null , null ) ; setStatus ( response . headers ( ) , cause , allocator ) ; return response ; }
and is also used in the api module as that would lead to circular dependency.
and is also used in the api module as that would lead to circular dependency .