-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We should refactor the codebase by moving any utility function from the utils module to the error handlers module if the function is responsible for checking only. Specifically, this includes any function that does not change its input, does not return a value, and is solely used for checking or validation purposes. This will improve code organization and make error handling logic more centralized and maintainable.
Action Items:
- Review all functions in the utils module.
- Identify functions that are responsible only for checking (no input modification, no return value, only validation or checking).
- Move these functions to the error handlers module.
- Update all imports and usages throughout the codebase to reference the new location.
- Ensure all tests still pass after the changes.
Acceptance Criteria:
- All relevant checking-only functions are moved from utils to error handlers.
- The codebase has no broken imports or references.
- Existing functionality remains unchanged and all tests pass.
Reactions are currently unavailable