transport: eliminate StreamError; use status errors instead (#2239)

This commit is contained in:
dfawley
2018-07-26 10:30:58 -07:00
committed by GitHub
parent c03697249e
commit 339b6cb107
12 changed files with 36 additions and 82 deletions

View File

@ -470,7 +470,7 @@ type parser struct {
// * io.EOF, when no messages remain
// * io.ErrUnexpectedEOF
// * of type transport.ConnectionError
// * of type transport.StreamError
// * an error from the status package
// No other error values or types must be returned, which also means
// that the underlying io.Reader must not return an incompatible
// error.