Function mz_fivetran_destination::destination::to_grpc
source · fn to_grpc<T>(response: Result<T, OpError>) -> Result<Response<T>, Status>
Expand description
Convert the result of an operation to a gRPC response.
Note: We’re expected to never return a gRPC error and instead we should return a 200 with the error code embedded.