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)
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
Unknown Object (File)
Wed, Oct 30, 6:04 PM
Unknown Object (File)
Wed, Oct 30, 5:09 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
Lint Not Applicable
Unit
Tests Not Applicable