[NX-101] Standardize API error response format across all endpoints #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Return a consistent error payload shape for all API errors.
Scope
Acceptance Criteria
Implemented in commit:
[NX-101 Issue] Refactor error handling to use consistent API error format.Done
codemessagedetailsrequest_idHTTPException(detail="...")patterns in affected routes/services with structured error objects.code,details, andrequest_id.Notes
python -m compileall backend/app.NX-101 acceptance criteria are met.