hngprojects / hng_boilerplate_nestjs

Description
Apache License 2.0
182 stars 105 forks source link

[Enhancement] [ANCHOR: BE JAVA] Move Product Exception Handling to Global Exception Handler and Standardize Exception Thrown in the Product Feature #988

Open hestherrh opened 3 weeks ago

hestherrh commented 3 weeks ago

Description

Move the exception handling logic for the Product feature to the global exception handler. Standardize the exceptions thrown within the Product feature to ensure consistent error handling across the platform.

Acceptance Criteria

Purpose

To centralize exception handling, making it easier to maintain and ensure consistent error responses across the platform.

Requirements

Refactor the Product feature to remove specific exception handling logic.

Expected Outcome

Exception handling in the Product feature is centralized and standardized, leading to more consistent error management across the platform.

hestherrh commented 3 weeks ago

@amodudavid777@gmail.com

You've been assigned this issue.