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
Unknown Object (File)
Tue, Apr 22, 7:42 AM
Unknown Object (File)
Tue, Apr 22, 5:06 AM
Unknown Object (File)
Mon, Apr 21, 11:02 PM
Unknown Object (File)
Sun, Apr 20, 8:58 PM
Unknown Object (File)
Sun, Apr 6, 5:01 PM
Unknown Object (File)
Mar 15 2025, 3:18 AM
Unknown Object (File)
Feb 17 2025, 10:20 AM
Unknown Object (File)
Feb 17 2025, 10:20 AM
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