File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ import modernErrorsProcess from 'modern-errors-process'
4343export const AnyError = modernErrors ([modernErrorsProcess])
4444```
4545
46- Initializing process error handler.
46+ Initializing the process error handler.
4747
4848``` js
4949AnyError .logProcess ()
@@ -97,17 +97,17 @@ restore()
9797
9898_ Type_ : ` object `
9999
100- [ Options] ( #options ) must be passed either to
100+ Options must be passed either to
101101[ ` modernErrors() ` ] ( https://github.com/ehmicky/modern-errors#modernerrorsplugins-options ) .
102102
103103``` js
104- export const AnyError = modernErrors (plugins, { process: { ... options } })
104+ export const AnyError = modernErrors (plugins, { process: options })
105105```
106106
107107Or to [ ` AnyError.logProcess() ` ] ( #anyerrorlogprocess ) .
108108
109109``` js
110- AnyError .logProcess (... args, { ... options } )
110+ AnyError .logProcess (... args, options)
111111```
112112
113113### exit
You can’t perform that action at this time.
0 commit comments