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 — errors: backport ERR_INVALID_PROTOCOL to v8.x · nodejs/node@da3265a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • errors.md
  • lib/internal
    • errors.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,11 @@ communication channel to a child process. See [`subprocess.send()`] and
835835
Used generically to identify when an invalid or unexpected value has been
836836
passed in an options object.
837837

838+
<a id="ERR_INVALID_PROTOCOL"></a>
839+
### ERR_INVALID_PROTOCOL
840+
841+
Used when an invalid `options.protocol` is passed.
842+
838843
<a id="ERR_INVALID_SYNC_FORK_INPUT"></a>
839844
### ERR_INVALID_SYNC_FORK_INPUT
840845

Collapse file

‎lib/internal/errors.js‎

Copy file name to clipboardExpand all lines: lib/internal/errors.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ E('ERR_INVALID_OPT_VALUE',
196196
return `The value "${String(value)}" is invalid for option "${name}"`;
197197
});
198198
E('ERR_INVALID_PERFORMANCE_MARK', 'The "%s" performance mark has not been set');
199+
E('ERR_INVALID_PROTOCOL', (protocol, expectedProtocol) =>
200+
`Protocol "${protocol}" not supported. Expected "${expectedProtocol}"`);
199201
E('ERR_INVALID_SYNC_FORK_INPUT',
200202
(value) => {
201203
return 'Asynchronous forks do not support Buffer, Uint8Array or string' +

0 commit comments

Comments
0 (0)
You are visitor 01402503 — 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.