HomePhabricator
Diffusion Comm 406f6cc12f66

[comm-lib][blob-client] Extract error handling logic

Description

[comm-lib][blob-client] Extract error handling logic

Summary:
Noticed that response handling is repetitive. Ectracted a common utility function, and refactored some of these functions to use it and return early when possible.

Depends on D13644

Test Plan: cargo build -p comm-lib

Reviewers: varun, will, kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D13645

Details

Provenance
bartekAuthored on Fri, Oct 4, 11:55 PM
Reviewer
kamil
Differential Revision
D13645: [comm-lib][blob-client] Extract error handling logic
Parents
rCOMMe31290555a24: [comm-lib] Add remove_multiple_holders to Blob client
Branches
Unknown
Tags
Unknown