Function massa_grpc::stream::send_blocks::report_error

source ยท
async fn report_error(
    sender: Sender<Result<SendBlocksResponse, Status>>,
    code: Code,
    error: String,
)
Expand description

This function reports an error to the sender by sending a gRPC response message to the client