Skip to content

Commit 1c37c54

Browse files
committed
docs: update README with additional notes beta mode and community feedback
1 parent 0a1d677 commit 1c37c54

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111

1212
Inspired by my experiences with the Yii2 framework—where built-in error classes allow developers to manage error handling efficiently without hardcoding status codes or messages—I saw a need for similar functionality in the Node.js ecosystem. This led to the development of custom error classes in this package, enhancing consistency and usability.
1313

14-
**As this package is newly released, your feedback is crucial for identifying any potential issues and improving its stability. I encourage you to integrate nextjs-centralized-error-handler into your projects and share your experiences, whether through bug reports or suggestions for improvement. Together, we can enhance this package for the Next.js community.**
14+
**A comprehensive, secure error-handling package designed specifically for Next.js applications.** While Next.js 13 provides global middleware for high-level request interception, `nextjs-centralized-error-handler` enables **fine-grained, route-level error handling** with `custom error classes`, ensuring that error responses are both consistent and structured. The package simplifies error handling by removing the need for repetitive `try-catch` blocks, enhancing security by preventing sensitive data leakage, and making error responses frontend-compatible. Fully compatible with Next.js 13 and above.
15+
16+
Inspired by my experiences with the Yii2 framework—where built-in error classes allow developers to manage error handling efficiently without hardcoding status codes or messages—I saw a need for similar functionality in the Node.js ecosystem. This led to the development of custom error classes in this package, enhancing consistency and usability.
17+
18+
**This package is currently in beta. As this package is newly released, your feedback is crucial for identifying any potential issues and improving its stability. I encourage you to try out the `nextjs-centralized-error-handler` package and share your experiences, whether through bug reports or suggestions for improvement. Together, we can enhance this package for the Next.js community.**
1519

1620
## Table of Contents
1721

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"author": "Riyon Sebastian",
1919
"license": "MIT",
20-
"description": "A comprehensive error-handling solution for Next.js API routes, offering centralized management with custom error classes to deliver robust and user-friendly error responses. This package simplifies error handling by eliminating repetitive try-catch blocks and enhancing security through structured JSON responses.",
20+
"description": "A beta comprehensive error-handling solution for Next.js API routes, offering centralized management with custom error classes to deliver robust and user-friendly error responses. This package simplifies error handling by eliminating repetitive try-catch blocks and enhancing security through structured JSON responses. Your feedback is welcome as it is actively being developed.",
2121
"devDependencies": {
2222
"globals": "^15.11.0",
2323
"jest": "^29.7.0",

0 commit comments

Comments
 (0)