Hi everyone,

We got bitten by a bug recently when using PipeWriter.CloseWithError 
<https://golang.org/pkg/io/#PipeWriter.CloseWithError>. We incorrectly 
assumed it would pass-through the error it was passed.

The docs do say that it will always return `nil`, but does anyone know why 
it has an `error` return type at all?

I can't see an interface that it has to match, and couldn't think of any 
other reason.


You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to