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, Mar 15, 3:18 AM
Unknown Object (File)
Feb 17 2025, 10:20 AM
Unknown Object (File)
Feb 17 2025, 10:20 AM
Unknown Object (File)
Feb 17 2025, 10:20 AM
Unknown Object (File)
Feb 17 2025, 10:20 AM
Unknown Object (File)
Jan 28 2025, 9:00 PM
Unknown Object (File)
Jan 12 2025, 7:25 AM
Unknown Object (File)
Jan 4 2025, 3:32 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