Page MenuHomePhabricator

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

Authored by bartek on Oct 9 2024, 1:17 AM.
Tags
None
Referenced Files
F3339229: D13645.id45160.diff
Thu, Nov 21, 7:14 PM
F3335964: D13645.diff
Thu, Nov 21, 1:02 PM
Unknown Object (File)
Sat, Nov 9, 3:55 AM
Unknown Object (File)
Sat, Nov 9, 2:22 AM
Unknown Object (File)
Thu, Nov 7, 1:51 PM
Unknown Object (File)
Sun, Nov 3, 8:21 AM
Unknown Object (File)
Wed, Oct 30, 6:05 PM
Unknown Object (File)
Wed, Oct 30, 6:05 PM
Subscribers

Details

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