golang.org/x/net/http2.pipe.CloseWithError (method)

9 uses

	golang.org/x/net/http2 (current package)
		pipe.go#L95: func (p *pipe) CloseWithError(err error) { p.closeWithError(&p.err, err, nil) }
		server.go#L1537: 		p.CloseWithError(err)
		server.go#L1697: 		st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
		server.go#L1761: 		st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
		server.go#L1765: 		st.body.CloseWithError(io.EOF)
		transport.go#L346: 		cs.bufPipe.CloseWithError(err)
		transport.go#L905: 		cs.bufPipe.CloseWithError(err)
		transport.go#L1795: 		cs.bufPipe.CloseWithError(err) // no-op if already closed
		transport.go#L2429: 		cs.bufPipe.CloseWithError(err)