Skip to content

doc: clarify behavior of napi_extended_error_info - #40458

Closed
mhdawson wants to merge 3 commits into
nodejs:masterfrom
mhdawson:node-api-extended-info
Closed

doc: clarify behavior of napi_extended_error_info#40458
mhdawson wants to merge 3 commits into
nodejs:masterfrom
mhdawson:node-api-extended-info

Conversation

@mhdawson

Copy link
Copy Markdown
Member

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

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>
@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. node-api Issues and PRs related to the Node-API. labels Oct 14, 2021
Comment threaddoc/api/n-api.md
Comment threaddoc/api/n-api.md Outdated

@RaisinTenRaisinTen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhdawson

Copy link
Copy Markdown
MemberAuthor

Manual land will auto fix CI complain about commit comment, landing.

mhdawson added a commit that referenced this pull request Oct 20, 2021
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>
@mhdawson

Copy link
Copy Markdown
MemberAuthor

Landed in f27f8d2

targos pushed a commit that referenced this pull request Oct 23, 2021
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>
@targostargos mentioned this pull request Nov 8, 2021
BethGriggs pushed a commit that referenced this pull request Nov 23, 2021
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>
@BethGriggsBethGriggs mentioned this pull request Nov 26, 2021
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.node-apiIssues and PRs related to the Node-API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@mhdawson@gabrielschulhof@RaisinTen@nodejs-github-bot