Skip to content

feat: unify api error responses#52

Merged
thomas-rx merged 1 commit intomainfrom
feature/backend-us-18-errors
Mar 20, 2026
Merged

feat: unify api error responses#52
thomas-rx merged 1 commit intomainfrom
feature/backend-us-18-errors

Conversation

@thomas-rx
Copy link
Copy Markdown
Collaborator

Context

Changes

  • add request ids, shared error payloads, and Hono validation hooks
  • align players, sessions, scores, and leaderboard on uniform JSON errors and HTTP statuses
  • add tests for validation, score error codes, and runtime request tracing

Closes #18

@thomas-rx thomas-rx requested review from flaw03 and kvnpetit March 20, 2026 11:06
@kvnpetit kvnpetit added this to the MVP Backend milestone Mar 20, 2026
@kvnpetit kvnpetit added backend Backend, API ou infrastructure Cloudflare hardening Validation, rate limiting, cache, robustesse et observabilite mvp Necessaire pour la premiere version jouable labels Mar 20, 2026
@thomas-rx thomas-rx force-pushed the feature/backend-us-18-errors branch from 6746a88 to 3f1b6e8 Compare March 20, 2026 11:22
@thomas-rx thomas-rx force-pushed the feature/backend-us-18-errors branch from 3f1b6e8 to 658e929 Compare March 20, 2026 13:08
@thomas-rx thomas-rx requested a review from Guiguied March 20, 2026 13:09
@thomas-rx thomas-rx force-pushed the feature/backend-us-18-errors branch from 658e929 to 3ed348f Compare March 20, 2026 13:11
@thomas-rx thomas-rx merged commit 1357c94 into main Mar 20, 2026
@kvnpetit kvnpetit deleted the feature/backend-us-18-errors branch March 20, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend, API ou infrastructure Cloudflare hardening Validation, rate limiting, cache, robustesse et observabilite mvp Necessaire pour la premiere version jouable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

US 8.2 - Validation et erreurs uniformes

3 participants