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)
Thu, Dec 19, 11:07 AM
Unknown Object (File)
Thu, Dec 19, 11:07 AM
Unknown Object (File)
Thu, Dec 19, 11:07 AM
Unknown Object (File)
Thu, Dec 19, 11:07 AM
Unknown Object (File)
Fri, Nov 22, 1:35 AM
Unknown Object (File)
Nov 21 2024, 7:14 PM
Unknown Object (File)
Nov 21 2024, 1:02 PM
Unknown Object (File)
Nov 9 2024, 3:55 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
Lint Not Applicable
Unit
Tests Not Applicable