Skip to content

Commit ab22135

Browse files
committed
build status badge
1 parent 64888a1 commit ab22135

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
![npm downloads](https://img.shields.io/npm/dw/nextjs-centralized-error-handler)
66
![GitHub issues](https://img.shields.io/github/issues/riyons/nextjs-centralized-error-handler)
77
![GitHub license](https://img.shields.io/github/license/riyons/nextjs-centralized-error-handler)
8-
![Build Status](https://img.shields.io/github/workflow/status/riyons/nextjs-centralized-error-handler/Publish%20Package)
9-
![Test Coverage](https://img.shields.io/coveralls/github/riyons/nextjs-centralized-error-handler)
8+
![Build Status](https://github.com/riyons/nextjs-centralized-error-handler/actions/workflows/publish.yml/badge.svg)
109

1110
**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.
1211

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-centralized-error-handler",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"main": "index.js",
55
"scripts": {
66
"test": "jest",

0 commit comments

Comments
 (0)