Page MenuHomePhabricator

[identity] Add HTTP error utilities
ClosedPublic

Authored by bartek on Jun 4 2024, 12:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 8:39 PM
Unknown Object (File)
Fri, Nov 1, 5:30 PM
Unknown Object (File)
Mon, Oct 28, 10:54 PM
Unknown Object (File)
Oct 13 2024, 6:37 AM
Unknown Object (File)
Oct 13 2024, 6:37 AM
Unknown Object (File)
Oct 13 2024, 6:36 AM
Unknown Object (File)
Oct 13 2024, 6:35 AM
Unknown Object (File)
Sep 10 2024, 1:53 AM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage