René's URL Explorer Experiment


Title: doc: improve example for Error.captureStackTrace() by brodo · Pull Request #46886 · nodejs/node · GitHub

Open Graph Title: doc: improve example for Error.captureStackTrace() by brodo · Pull Request #46886 · nodejs/node

X Title: doc: improve example for Error.captureStackTrace() by brodo · Pull Request #46886 · nodejs/node

Description: Change the MyError example so that instances of MyError are instanceof Error and also native errors when checked with util.types.isNativeError().

Open Graph Description: Change the MyError example so that instances of MyError are instanceof Error and also native errors when checked with util.types.isNativeError().

X Description: Change the MyError example so that instances of MyError are instanceof Error and also native errors when checked with util.types.isNativeError().

Opengraph URL: https://github.com/nodejs/node/pull/46886

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:dc36cac1-9b30-b5c6-af3b-b25d0aa42fea
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5CC:B07CA:2C4189:3E5F2D:696A07EE
html-safe-nonce13a7d9e7d8c9eaf2fc979f92bc1534f7318eccd827601c2af643df3e4ba11fa0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUNDOkIwN0NBOjJDNDE4OTozRTVGMkQ6Njk2QTA3RUUiLCJ2aXNpdG9yX2lkIjoiODMwMTY3Njk4MzIyOTIyMDg0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc6664851beb5e05ad777c020b2865fd5ec38c20275ac49fc4ae479173e6daef0
hovercard-subject-tagpull_request:1257528931
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/nodejs/node/46886/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/74d7c80c29800f75014ec4cfce5904991eb7afe669d56d380ce53a4e288c228f/nodejs/node/pull/46886
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/74d7c80c29800f75014ec4cfce5904991eb7afe669d56d380ce53a4e288c228f/nodejs/node/pull/46886
og:image:altChange the MyError example so that instances of MyError are instanceof Error and also native errors when checked with util.types.isNativeError().
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrodo
hostnamegithub.com
expected-hostnamegithub.com
None578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release671c2f67171dbced24284331f3133a613d08c366
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/46886#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F46886
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F46886
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/46886
Reloadhttps://github.com/nodejs/node/pull/46886
Reloadhttps://github.com/nodejs/node/pull/46886
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/46886
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.4k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 115k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.7k https://github.com/nodejs/node/issues
Pull requests 697 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/nodejs/node/security
Please reload this pagehttps://github.com/nodejs/node/pull/46886
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/nodejs/node/pull/46886#issue-comment-box
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
brodo:capture-stack-trace-example-improvementhttps://github.com/brodo/node/tree/capture-stack-trace-example-improvement
doc: improve example for Error.captureStackTrace() https://github.com/nodejs/node/pull/46886#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
brodo:capture-stack-trace-example-improvementhttps://github.com/brodo/node/tree/capture-stack-trace-example-improvement
Conversation 15 https://github.com/nodejs/node/pull/46886
Commits 1 https://github.com/nodejs/node/pull/46886/commits
Checks 0 https://github.com/nodejs/node/pull/46886/checks
Files changed https://github.com/nodejs/node/pull/46886/files
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
https://github.com/brodo
brodohttps://github.com/brodo
Feb 28, 2023https://github.com/nodejs/node/pull/46886#issue-1603513842
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
doc https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc
errors https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aerrors
Feb 28, 2023https://github.com/nodejs/node/pull/46886#event-8629690796
https://github.com/BridgeAR
BridgeARhttps://github.com/BridgeAR
Feb 28, 2023 https://github.com/nodejs/node/pull/46886#pullrequestreview-1318230983
View reviewed changes https://github.com/nodejs/node/pull/46886/files
BridgeARhttps://github.com/BridgeAR
https://github.com/nodejs/node/pull/46886#pullrequestreview-1318230983
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/46886
doc/api/errors.mdhttps://github.com/nodejs/node/pull/46886/files#diff-25028e2a7d2f7b55d8325ef4098b431b59a49ae129b66c33a0108549a37ff0b8
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/brodo
brodohttps://github.com/brodo
Feb 28, 2023https://github.com/nodejs/node/pull/46886#issuecomment-1448665605
Please reload this pagehttps://github.com/nodejs/node/pull/46886
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/brodo
brodohttps://github.com/brodo
Feb 28, 2023https://github.com/nodejs/node/pull/46886#issuecomment-1448683240
Please reload this pagehttps://github.com/nodejs/node/pull/46886
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/BridgeAR
BridgeARhttps://github.com/BridgeAR
Mar 1, 2023 https://github.com/nodejs/node/pull/46886#pullrequestreview-1320458328
View reviewed changes https://github.com/nodejs/node/pull/46886/files
BridgeARhttps://github.com/BridgeAR
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/nodejs/node/pull/46886#pullrequestreview-1320458328
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/46886
doc/api/errors.mdhttps://github.com/nodejs/node/pull/46886/files#diff-25028e2a7d2f7b55d8325ef4098b431b59a49ae129b66c33a0108549a37ff0b8
Please reload this pagehttps://github.com/nodejs/node/pull/46886
doc/api/errors.mdhttps://github.com/nodejs/node/pull/46886/files#diff-25028e2a7d2f7b55d8325ef4098b431b59a49ae129b66c33a0108549a37ff0b8
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/brodo
brodohttps://github.com/brodo
Mar 1, 2023https://github.com/nodejs/node/pull/46886#issuecomment-1450755144
Please reload this pagehttps://github.com/nodejs/node/pull/46886
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Mar 2, 2023 https://github.com/nodejs/node/pull/46886#pullrequestreview-1320889283
View reviewed changes https://github.com/nodejs/node/pull/46886/files
https://github.com/brodo
brodohttps://github.com/brodo
Mar 14, 2023https://github.com/nodejs/node/pull/46886#issuecomment-1468671583
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/debadree25
debadree25https://github.com/debadree25
Mar 16, 2023https://github.com/nodejs/node/pull/46886#issuecomment-1472601603
Please reload this pagehttps://github.com/nodejs/node/pull/46886
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/debadree25
debadree25https://github.com/debadree25
Mar 16, 2023 https://github.com/nodejs/node/pull/46886#pullrequestreview-1344557161
View reviewed changes https://github.com/nodejs/node/pull/46886/files
debadree25https://github.com/debadree25
https://github.com/nodejs/node/pull/46886#pullrequestreview-1344557161
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@BridgeARhttps://github.com/BridgeAR
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/debadree25
debadree25https://github.com/debadree25
commit-queue-squash https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-squash
Mar 16, 2023https://github.com/nodejs/node/pull/46886#event-8771219551
https://github.com/debadree25
debadree25https://github.com/debadree25
BridgeARhttps://github.com/BridgeAR
March 16, 2023 19:17https://github.com/nodejs/node/pull/46886#event-8771236108
https://github.com/brodo
https://github.com/BridgeAR
doc: improve example for Error.captureStackTrace()https://github.com/nodejs/node/pull/46886/commits/7d8b38fd46533601a218f4d74ee7e092ea918cff
7d8b38fhttps://github.com/nodejs/node/pull/46886/commits/7d8b38fd46533601a218f4d74ee7e092ea918cff
https://github.com/brodo
brodohttps://github.com/brodo
force-pushedhttps://github.com/nodejs/node/compare/c4b05b36f3a459e918b10a7d89229525f22537d6..7d8b38fd46533601a218f4d74ee7e092ea918cff
c4b05b3https://github.com/nodejs/node/commit/c4b05b36f3a459e918b10a7d89229525f22537d6
7d8b38fhttps://github.com/nodejs/node/commit/7d8b38fd46533601a218f4d74ee7e092ea918cff
Compare https://github.com/nodejs/node/compare/c4b05b36f3a459e918b10a7d89229525f22537d6..7d8b38fd46533601a218f4d74ee7e092ea918cff
March 18, 2023 11:56https://github.com/nodejs/node/pull/46886#event-8784404324
https://github.com/brodo
brodohttps://github.com/brodo
Mar 18, 2023https://github.com/nodejs/node/pull/46886#issuecomment-1474828330
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/lpinca
lpincahttps://github.com/lpinca
Mar 26, 2023 https://github.com/nodejs/node/pull/46886#pullrequestreview-1358111007
View reviewed changes https://github.com/nodejs/node/pull/46886/files/7d8b38fd46533601a218f4d74ee7e092ea918cff
https://github.com/lpinca
lpincahttps://github.com/lpinca
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Mar 26, 2023https://github.com/nodejs/node/pull/46886#event-8848043801
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Mar 26, 2023https://github.com/nodejs/node/pull/46886#event-8848062237
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
38e6ac7https://github.com/nodejs/node/commit/38e6ac7b446bcf2be257fde6763d1da7d2104295
Mar 26, 2023https://github.com/nodejs/node/pull/46886#event-8848062381
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Mar 26, 2023https://github.com/nodejs/node/pull/46886#issuecomment-1484216256
38e6ac7https://github.com/nodejs/node/commit/38e6ac7b446bcf2be257fde6763d1da7d2104295
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/RafaelGSS
RafaelGSShttps://github.com/RafaelGSS
Apr 3, 2023 https://github.com/nodejs/node/pull/46886#ref-pullrequest-1651807011
2023-04-18, Version 20.0.0 (Current) #47381 https://github.com/nodejs/node/pull/47381
RafaelGSShttps://github.com/RafaelGSS
Apr 5, 2023 https://github.com/nodejs/node/pull/46886#ref-commit-d34ed2e
https://github.com/brodo
https://github.com/BridgeAR
https://github.com/RafaelGSS
doc: improve example for Error.captureStackTrace()https://github.com/nodejs/node/commit/d34ed2e220c2c3dc797e22158a63d3fdba0e544c
d34ed2ehttps://github.com/nodejs/node/commit/d34ed2e220c2c3dc797e22158a63d3fdba0e544c
#46886https://github.com/nodejs/node/pull/46886
https://github.com/RafaelGSS
RafaelGSShttps://github.com/RafaelGSS
Apr 6, 2023 https://github.com/nodejs/node/pull/46886#ref-pullrequest-1656565377
v19.9.0 proposal #47441 https://github.com/nodejs/node/pull/47441
RafaelGSShttps://github.com/RafaelGSS
Apr 6, 2023 https://github.com/nodejs/node/pull/46886#ref-commit-ab2f699
https://github.com/brodo
https://github.com/BridgeAR
https://github.com/RafaelGSS
doc: improve example for Error.captureStackTrace()https://github.com/nodejs/node/commit/ab2f69948472d18f05aa69b38dac9476a1ce19b2
ab2f699https://github.com/nodejs/node/commit/ab2f69948472d18f05aa69b38dac9476a1ce19b2
#46886https://github.com/nodejs/node/pull/46886
RafaelGSShttps://github.com/RafaelGSS
Apr 7, 2023 https://github.com/nodejs/node/pull/46886#ref-commit-7124624
https://github.com/brodo
https://github.com/BridgeAR
https://github.com/RafaelGSS
doc: improve example for Error.captureStackTrace()https://github.com/nodejs/node/commit/71246247a9ca39f4171d48fd62a964d98d71d069
7124624https://github.com/nodejs/node/commit/71246247a9ca39f4171d48fd62a964d98d71d069
#46886https://github.com/nodejs/node/pull/46886
danielleadamshttps://github.com/danielleadams
Jul 6, 2023 https://github.com/nodejs/node/pull/46886#ref-commit-3a85794
https://github.com/brodo
https://github.com/BridgeAR
https://github.com/danielleadams
doc: improve example for Error.captureStackTrace()https://github.com/nodejs/node/commit/3a8579408946526772bc7e32088e9f235aaa14e0
3a85794https://github.com/nodejs/node/commit/3a8579408946526772bc7e32088e9f235aaa14e0
#46886https://github.com/nodejs/node/pull/46886
https://github.com/danielleadams
danielleadamshttps://github.com/danielleadams
Jul 10, 2023 https://github.com/nodejs/node/pull/46886#ref-pullrequest-1793607989
v18.17.0 release proposal #48694 https://github.com/nodejs/node/pull/48694
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F46886
https://github.com/jasnell
jasnell https://github.com/jasnell
https://github.com/nodejs/node/pull/46886/files/c4b05b36f3a459e918b10a7d89229525f22537d6
https://github.com/lpinca
lpinca https://github.com/lpinca
https://github.com/nodejs/node/pull/46886/files/7d8b38fd46533601a218f4d74ee7e092ea918cff
https://github.com/debadree25
debadree25 https://github.com/debadree25
https://github.com/nodejs/node/pull/46886/files/c4b05b36f3a459e918b10a7d89229525f22537d6
https://github.com/BridgeAR
BridgeAR https://github.com/BridgeAR
commit-queue-squash https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-squash
doc https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc
errors https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Aerrors
Please reload this pagehttps://github.com/nodejs/node/pull/46886
https://github.com/brodo
https://github.com/debadree25
https://github.com/nodejs-github-bot
https://github.com/jasnell
https://github.com/lpinca
https://github.com/BridgeAR
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.