Searched refs:CloseWithError (Results 1 – 7 of 7) sorted by relevance
118 pr.CloseWithError(w.err)139 pr.CloseWithError(w.err)183 func (w *Writer) CloseWithError(err error) error { func187 return w.pw.CloseWithError(err)
125 pw.CloseWithError(fmt.Errorf("googleapi: CreatePart failed: %v", err))131 pw.CloseWithError(fmt.Errorf("googleapi: Copy failed: %v", err))
93 func (p *pipe) CloseWithError(err error) { p.closeWithError(&p.err, err, nil) } func
1472 p.CloseWithError(err)1610 …st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d by…1673 …st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes…1677 st.body.CloseWithError(io.EOF)
247 cs.bufPipe.CloseWithError(err)1466 cs.bufPipe.CloseWithError(err) // no-op if already closed2069 cs.bufPipe.CloseWithError(err)
467 _ = w.CloseWithError(err)