HomePhabricator
Diffusion Comm e2d369186e97

[Identity] Refactor DB error logic

Description

[Identity] Refactor DB error logic

Summary:
Since this needs to be called for both the authenticated
and unauthenticated service, we should move to it's own module.

Done in support of: https://linear.app/comm/issue/ENG-4445

Depends on D8606

Test Plan:

cd identity && cargo build

Reviewers: varun, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8607

Details

Provenance
jonAuthored on Jul 18 2023, 7:36 AM
Reviewer
bartek
Differential Revision
D8607: [Identity] Refactor DB error logic
Parents
rCOMM9a3688162429: [Identity] Refactor get user_id and device_id
Branches
Unknown
Tags
Unknown