Skip to content

Organization — Adopt Domain Exceptions & Unified Error Handling #165

@Villarley

Description

@Villarley

Description

Apply domain exceptions across organization module.

What is expected

  • Replace ad-hoc errors with Validation/NotFound/Conflict/... exceptions.
  • Ensure controller → handler path returns the standard JSON.

What should be modified

  • src/modules/organization/presentation/controllers/*
  • src/modules/organization/* services/use-cases

Tests

  • Negative flows assert correct codes and errorCode.

Acceptance criteria

  • Only domain exceptions used; tests green.

Metadata

Metadata

Assignees

Labels

onlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions