Skip to content

Conversation

@indrasuthar07
Copy link
Contributor

Description

Added a centralized error handling setup to simplify error management across the app.
This removes repetitive try...catch blocks from controllers and ensures all API errors return a consistent JSON response.

Also introduced a custom ApiError class and integrated express-async-handler to make async route handling cleaner and more reliable.

Semver Changes

  • Patch (bug fix, no new features)
  • Minor (new features, no breaking changes)
  • Major (breaking changes)

Issues

#19

List any issues that this pull request closes.

Checklist

@Somilg11 Somilg11 merged commit 1e0fd4d into OPCODE-Open-Spring-Fest:main Oct 24, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants