HomePhabricator
Diffusion Comm d7cb14f793ad

[identity] Add HTTP error utilities

Description

[identity] Add HTTP error utilities

Summary:

  • Added some handy HTTP error response utils
  • Created handle_db_error() counterpart for HTTP

Depends on D12301

Test Plan:

  • GET http://localhost:51004/whatever returns 404 as expected
  • Tested together in later diffs

Reviewers: will, varun

Reviewed By: will

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Jun 1 2024, 2:07 PM
Reviewer
will
Differential Revision
D12302: [identity] Add HTTP error utilities
Parents
rCOMM9477f98d6f54: [identity] Create module for HTTP handler
Branches
Unknown
Tags
Unknown