MCPcopy Create free account
hub / github.com/grpc/grpc-java / fromError

Method fromError

xds/src/main/java/io/grpc/xds/StructOrError.java:37–39  ·  view source on GitHub ↗

Returns a StructOrError for the failure to convert the data object.

(String errorDetail)

Source from the content-addressed store, hash-verified

35 * Returns a {@link StructOrError} for the failure to convert the data object.
36 */
37 public static <T> StructOrError<T> fromError(String errorDetail) {
38 return new StructOrError<>(errorDetail);
39 }
40
41 private final String errorDetail;
42 private final T struct;

Callers 14

parseAggregateClusterMethod · 0.95
parseHttpFilterMethod · 0.95
parseVirtualHostMethod · 0.95
parseRouteMethod · 0.95
parseRouteMatchMethod · 0.95
parsePathMatcherMethod · 0.95
parseHeaderMatcherMethod · 0.95
parseRouteActionMethod · 0.95
parseRetryPolicyMethod · 0.95

Calls

no outgoing calls

Tested by 1