featurebase/proto
Travis 73090e05c8 Add StatusError to RowResponse for better error handling.
This PR adds a `StatusError` to the `pproto.RowResponse` type, which
allows a stream to pass an error on the stream (encoded into
the `RowResponse.StatusError`). This can be checked downstream
for matching `EOF` or `err != nil` and handled appropriately.

This is helpful mainly with the `RowResponse` reducers which run in
goroutines. Instead of trying to manage a separate channel of errors
from those goroutines, we just follow the grpc model and send the
error with the stream.
2019-12-27 12:43:45 -06:00
..
interface.go Add StatusError to RowResponse for better error handling. 2019-12-27 12:43:45 -06:00
pilosa.pb.go Add StatusError to RowResponse for better error handling. 2019-12-27 12:43:45 -06:00
pilosa.proto Add StatusError to RowResponse for better error handling. 2019-12-27 12:43:45 -06:00