Skip to content

Commit 2358c45

Browse files
committed
Update README
1 parent 82b452b commit 2358c45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ and [warnings](https://nodejs.org/api/process.html#process_event_warning).
2727
[`rejectionHandled`](https://nodejs.org/api/process.html#process_event_rejectionhandled)
2828
- [Single event handler](#onerror) for all process errors
2929
- Ignore [duplicate](#onerror) process errors
30+
- [Normalize](#error) invalid errors
3031
- [Process exit](#exit) is graceful and can be prevented
3132

3233
# Install
@@ -109,7 +110,9 @@ logProcessErrors({
109110

110111
_Type_: `Error`
111112

112-
The process error. This is guaranteed to be an error instance.
113+
The process error. This is guaranteed to be a
114+
[normalized](https://github.com/ehmicky/normalize-exception) error instance. A
115+
short description of the [event](#event) is also appended to its message.
113116

114117
#### event
115118

0 commit comments

Comments
 (0)