MCPcopy Create free account
hub / github.com/pydio/cells / ErrorFormatStreamClientInterceptor

Function ErrorFormatStreamClientInterceptor

common/middleware/errors-grpc.go:97–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97func ErrorFormatStreamClientInterceptor() grpc.StreamClientInterceptor {
98 return func(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, streamer grpc.Streamer, opts ...grpc.CallOption) (grpc.ClientStream, error) {
99 str, err := streamer(ctx, desc, cc, method, opts...)
100 return &errorFormatStreamClientInterceptor{str}, err
101 }
102}
103
104type errorFormatStreamClientInterceptor struct {
105 grpc.ClientStream

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…