Commit aa47c9f
doc: clarify behavior of napi_extended_error_info
Fix up example and make it more explicit on how
you need to use napi_extended_error_info in order to
help people avoid what might be a common mistake that
we made in node-addon-api.
Refs: nodejs/node-addon-api#1089
Signed-off-by: Michael Dawson <mdawson@devrus.com>
PR-URL: #40458
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>1 parent 3ac99a2 commit aa47c9fCopy full SHA for aa47c9f
File tree
Expand file treeCollapse file tree
1 file changed
+9
-3
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+9
-3
lines changedOpen diff view settings
Collapse file
+9-3Lines changed: 9 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
403 | 403 | |
404 | 404 | |
405 | 405 | |
| 406 | + |
406 | 407 | |
407 | 408 | |
408 | 409 | |
409 | | - |
| 410 | + |
410 | 411 | |
411 | | - |
| 412 | + |
412 | 413 | |
413 | 414 | |
414 | 415 | |
| ||
1005 | 1006 | |
1006 | 1007 | |
1007 | 1008 | |
1008 | | - |
| 1009 | + |
| 1010 | + |
| 1011 | + |
| 1012 | + |
| 1013 | + |
| 1014 | + |
1009 | 1015 | |
1010 | 1016 | |
1011 | 1017 | |
|
0 commit comments