Class GrpcErrorMapper
java.lang.Object
org.a2aproject.sdk.client.transport.grpc.GrpcErrorMapper
Utility class to map gRPC exceptions to appropriate A2A error types.
Extracts google.rpc.ErrorInfo from gRPC status details to identify the
specific A2A error type via the reason field.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic A2AClientExceptionstatic A2AClientExceptionmapGrpcError(Throwable e, String errorPrefix)
-
Constructor Details
-
GrpcErrorMapper
public GrpcErrorMapper()
-
-
Method Details
-
mapGrpcError
-
mapGrpcError
-