Page MenuHomePhabricator

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

Authored by bartek on Wed, Oct 9, 1:17 AM.
Tags
None
Referenced Files
F2928893: D13645.diff
Wed, Oct 9, 8:45 AM
F2928841: D13645.diff
Wed, Oct 9, 8:02 AM
F2927988: D13645.diff
Wed, Oct 9, 1:58 AM
Subscribers

Details

Reviewers
varun
will
kamil
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

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage