Table of Contents

Namespace Arc4u.gRPC.Results

Classes

FromRpcExceptionToResultExtension

Turns the fault of a gRPC call back into a failed FluentResults.Result. It is the client-side counterpart of FromResultToRpcExceptionExtension in Arc4u.AspNetCore.gRpc: the server packs the ProblemDetails of a failed result in the google.rpc.Status of the grpc-status-details-bin trailer, and this extension turns it back into the errors Arc4u builds that document from. Rendered with ToProblemDetails(), they give back the very document the server produced.