GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: document missing error codes by gnbezerra · Pull Request #15160 · nodejs/node

Conversation

@gnbezerra

@gnbezerra gnbezerra commented Sep 3, 2017

Copy link
Copy Markdown
Contributor

There are discrepancies between the errors defined in
lib/internal/errors.js and those documented in doc/api/errors.md.
Some of the errors recently defined are not documented, while others
were removed, but still have entries in the docs. This commit fills in
those gaps in the documentation.

Fixes: #15038

Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gnbezerra
doc: document missing error codes
6a2eb19
There are discrepancies between the errors defined in
`lib/internal/errors.js` and those documented in `doc/api/errors.md`.
Some of the errors recently defined are not documented, while others
were removed, but still have entries in the docs. This commit fills in
those gaps in the documentation.

Fixes: #15038
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to Node.js documentation. errors Issues and PRs related to JavaScript errors originating in Node.js core. labels Sep 3, 2017
@benjamingr

benjamingr commented Sep 3, 2017

Copy link
Copy Markdown
Member

I'm not sure it's preferably to say who is using an error rather than what is represents.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jasnell
jasnell approved these changes Sep 5, 2017
View reviewed changes

@jasnell jasnell left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM as is to get these documented. We'll need to go back and improve all of the descriptions later any way.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jasnell

jasnell commented Sep 7, 2017

Copy link
Copy Markdown
Member

ping @benjamingr .. are you good with this as is? We can go back and make further improvements separately

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@benjamingr

benjamingr commented Sep 7, 2017

Copy link
Copy Markdown
Member

Not blocking this - feel free to land

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR

BridgeAR commented Sep 8, 2017

Copy link
Copy Markdown
Member

Landed in 1cdb41f

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BridgeAR BridgeAR closed this Sep 8, 2017
@BridgeAR

BridgeAR commented Sep 8, 2017

Copy link
Copy Markdown
Member

@gnbezerra Thanks a lot for your contribution and congratulations on your first commit to Node.js!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

BridgeAR pushed a commit that referenced this pull request Sep 8, 2017
@gnbezerra @BridgeAR
doc: document missing error codes
1cdb41f
There are discrepancies between the errors defined in
`lib/internal/errors.js` and those documented in `doc/api/errors.md`.
Some of the errors recently defined are not documented, while others
were removed, but still have entries in the docs. This commit fills in
those gaps in the documentation.

PR-URL: #15160
Fixes: #15038
Reviewed-By: James M Snell <[email protected]>
@MylesBorins

MylesBorins commented Sep 10, 2017

Copy link
Copy Markdown
Contributor

This does not land cleanly on v8.x-staging. is it relevant for an 8.x release? If so could we backport?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins MylesBorins added the backport-requested-v8.x label Sep 10, 2017
addaleax pushed a commit to addaleax/node that referenced this pull request Sep 13, 2017
@gnbezerra @addaleax
doc: document missing error codes
239b6d1
There are discrepancies between the errors defined in
`lib/internal/errors.js` and those documented in `doc/api/errors.md`.
Some of the errors recently defined are not documented, while others
were removed, but still have entries in the docs. This commit fills in
those gaps in the documentation.

PR-URL: nodejs#15160
Fixes: nodejs#15038
Reviewed-By: James M Snell <[email protected]>
@MylesBorins

MylesBorins commented Sep 29, 2017

Copy link
Copy Markdown
Contributor

ping re backport

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lance lance mentioned this pull request Oct 27, 2017
[v8.x backport] doc: document missing error codes #16556
Closed
2 tasks done
@lance

lance commented Oct 27, 2017

Copy link
Copy Markdown
Member

@MylesBorins I have backported this here: #16556

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell jasnell mentioned this pull request Oct 30, 2017
Proposal: 2017-10-31, Version 9.0.0 (Current) #15135
Merged
gibfahn pushed a commit that referenced this pull request Oct 30, 2017
@gnbezerra @gibfahn
doc: document missing error codes
6799670
There are discrepancies between the errors defined in
`lib/internal/errors.js` and those documented in `doc/api/errors.md`.
Some of the errors recently defined are not documented, while others
were removed, but still have entries in the docs. This commit fills in
those gaps in the documentation.

PR-URL: #15160
Backport-PR-URL: #16556
Fixes: #15038
Reviewed-By: James M Snell <[email protected]>
gibfahn pushed a commit that referenced this pull request Oct 31, 2017
@gnbezerra @gibfahn
doc: document missing error codes
d6619b9
There are discrepancies between the errors defined in
`lib/internal/errors.js` and those documented in `doc/api/errors.md`.
Some of the errors recently defined are not documented, while others
were removed, but still have entries in the docs. This commit fills in
those gaps in the documentation.

PR-URL: #15160
Backport-PR-URL: #16556
Fixes: #15038
Reviewed-By: James M Snell <[email protected]>
@gibfahn gibfahn mentioned this pull request Oct 31, 2017
v8.9.0 proposal #16630
Merged
@MylesBorins MylesBorins added the dont-land-on-v6.x label Nov 16, 2017
@lance lance added backported-to-v8.x and removed backport-requested-v8.x labels Nov 17, 2017
@ChALkeR

ChALkeR commented Jun 21, 2018

Copy link
Copy Markdown
Member

Why did this remove ERR_HTTP2_ERROR and ERR_UNKNOWN_BUILTIN_MODULE?
See #21440 (comment).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ChALkeR ChALkeR mentioned this pull request Jun 23, 2018
doc: restore documentation for two error codes #21484
Merged
3 of 4 tasks
ChALkeR added a commit to ChALkeR/io.js that referenced this pull request Jun 24, 2018
@ChALkeR
doc: restore documentation for two error codes
cdb5985
ERR_HTTP2_ERROR and ERR_UNKNOWN_BUILTIN_MODULE error codes documentation
seem to have been accidentally removed in commit
1cdb41f (pull request nodejs#15160).

This reverts that removal, restoring the documentation for those two
error codes.

Those error codes are used from lib/ folder.

This is a part of the fixes hinted by nodejs#21470, which includes some tests
for error codes usage and documentation and enforces a stricter format.

PR-URL: nodejs#21484
Refs: nodejs#21470
Refs: nodejs#21440
Refs: nodejs#15160
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this pull request Jun 24, 2018
@ChALkeR @targos
doc: restore documentation for two error codes
5bb6e5c
ERR_HTTP2_ERROR and ERR_UNKNOWN_BUILTIN_MODULE error codes documentation
seem to have been accidentally removed in commit
1cdb41f (pull request #15160).

This reverts that removal, restoring the documentation for those two
error codes.

Those error codes are used from lib/ folder.

This is a part of the fixes hinted by #21470, which includes some tests
for error codes usage and documentation and enforces a stricter format.

PR-URL: #21484
Refs: #21470
Refs: #21440
Refs: #15160
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

doc Issues and PRs related to Node.js documentation. errors Issues and PRs related to JavaScript errors originating in Node.js core.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Discrepancies between error list and documentation

Uh oh!

There was an error while loading. Please reload this page.

8 participants

@gnbezerra @benjamingr @jasnell @BridgeAR @MylesBorins @lance @ChALkeR @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.