1010[ ![ Medium] ( https://img.shields.io/badge/%E2%80%8B-medium-brightgreen.svg?logo=medium )] ( https://medium.com/@ehmicky )
1111
1212[ ` modern-errors ` ] ( https://github.com/ehmicky/modern-errors )
13- [ plugin] ( https://github.com/ehmicky/modern-errors#plugins-1 ) to handle process
13+ [ plugin] ( https://github.com/ehmicky/modern-errors#-plugins ) to handle process
1414errors.
1515
1616This improves process errors:
@@ -27,7 +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- Set any process error's class to
30- [ ` UnknownError ` ] ( https://github.com/ehmicky/modern-errors/README.md#unknown-errors )
30+ [ ` UnknownError ` ] ( https://github.com/ehmicky/modern-errors/README.md#- unknown-errors )
3131- Ignore [ duplicate] ( #onerror ) process errors
3232- [ Normalize] ( #error ) invalid errors
3333- [ Process exit] ( #exit ) is graceful and can be prevented
@@ -137,11 +137,11 @@ Function called once per process error. Duplicate process errors are ignored.
137137#### error
138138
139139_ Type_ :
140- [ ` UnknownError ` ] ( https://github.com/ehmicky/modern-errors/README.md#unknown-errors )
140+ [ ` UnknownError ` ] ( https://github.com/ehmicky/modern-errors/README.md#- unknown-errors )
141141
142142The process error. This is guaranteed to be a
143143[ normalized] ( https://github.com/ehmicky/normalize-exception )
144- [ ` UnknownError ` ] ( https://github.com/ehmicky/modern-errors/README.md#unknown-errors )
144+ [ ` UnknownError ` ] ( https://github.com/ehmicky/modern-errors/README.md#- unknown-errors )
145145instance. A short description of the [ event] ( #event ) is also appended to its
146146message.
147147
0 commit comments