-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
onlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Description
Description
Refactor user module to conform to the unified error model.
What is expected
- Use domain exceptions for validation/not found/conflicts.
- Map Prisma not found/unique errors →
NotFoundException/ConflictException.
What should be modified
src/modules/user/presentation/controllers/*src/modules/user/*services/use-cases
Tests
- Cover 404 on unknown id, 409 on unique collisions, 400 on invalid DTOs.
Acceptance criteria
- Only domain exceptions used; tests green.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
onlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week