Package com.google.cloud.spanner.spi.v1
Class SpannerErrorInterceptor
- java.lang.Object
-
- com.google.cloud.spanner.spi.v1.SpannerErrorInterceptor
-
- All Implemented Interfaces:
io.grpc.ClientInterceptor
public final class SpannerErrorInterceptor extends Object implements io.grpc.ClientInterceptor
Adds error details to statuses returned by the Cloud Spanner API. TODO(user): Add integration tests to check for error details.
-
-
Constructor Summary
Constructors Constructor Description SpannerErrorInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <ReqT,RespT>
io.grpc.ClientCall<ReqT,RespT>interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-