Skip to content

src: refactor to use THROW_* argument based snprintf - #38357

Closed
panva wants to merge 1 commit into
nodejs:masterfrom
panva:refactor-throw-err
Closed

src: refactor to use THROW_* argument based snprintf#38357
panva wants to merge 1 commit into
nodejs:masterfrom
panva:refactor-throw-err

Conversation

@panva

@panvapanva commented Apr 22, 2021

Copy link
Copy Markdown
Member

Similar to #38354 this refactors various src/node_errors.cc-based errors to use the argument based snprintf rather than explicitly building the message upfront.

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Apr 22, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@panva
panvaforce-pushed the refactor-throw-err branch from 06c018c to e7c57e9CompareApril 22, 2021 16:40
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@panvapanva added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed needs-ci PRs that need a full CI run. labels Apr 23, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

panva added a commit that referenced this pull request Apr 24, 2021
PR-URL: #38357
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@panva

Copy link
Copy Markdown
MemberAuthor

Landed in 04ec693

@panvapanva closed this Apr 24, 2021
targos pushed a commit that referenced this pull request Apr 29, 2021
PR-URL: #38357
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@targostargos mentioned this pull request May 3, 2021
@panva
panva deleted the refactor-throw-err branch October 13, 2022 09:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@panva@nodejs-github-bot@jasnell@addaleax@cjihrig@tniessen@targos