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