Skip to content

Commit d1e21ce

Browse files
committed
readme file updated
1 parent e7e0b2c commit d1e21ce

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ To enhance developer experience during debugging, this toolkit uses **ANSI escap
138138

139139
Each part of the error log is styled using a traffic light-inspired color scheme:
140140

141-
- 🔴 **Error Status & Message** – Red
142-
- 🟡 **Error Details** – Yellow
143-
- 🟢 **Stack Trace** – Green
141+
- 🔴 **Error Status & Message** – Red
142+
- 🟡 **Error Details** – Yellow (optional; string or object)
143+
- 🟢 **Stack Trace** – Green (shown only if available and enabled)
144144

145145
> 🖼️ Example: Here's how the console might look in development mode:
146146

src/global-error-handler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export function setErrorOptions(options: Partial<ErrorOptions>) {
3333
}
3434

3535

36-
3736
export const globalErrorHandler = (
3837
err: unknown,
3938
_req: Request,

0 commit comments

Comments
 (0)