Skip to content

Commit 5ce6875

Browse files
committed
doc: fix missing links in the errors page
1 parent af20ce5 commit 5ce6875

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

doc/api/errors.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,7 @@ urlSearchParams.has.call(buf, 'foo');
20952095
### `ERR_INVALID_TUPLE`
20962096

20972097
An element in the `iterable` provided to the [WHATWG][WHATWG URL API]
2098-
[`URLSearchParams` constructor][`new URLSearchParams(iterable)`] did not
2098+
[`URLSearchParams` constructor][] [`new URLSearchParams(iterable)`][] did not
20992099
represent a `[name, value]` tuple – that is, if an element is not iterable, or
21002100
does not consist of exactly two elements.
21012101

@@ -2127,17 +2127,17 @@ An invalid URI was passed.
21272127

21282128
### `ERR_INVALID_URL`
21292129

2130-
An invalid URL was passed to the [WHATWG][WHATWG URL API] [`URL`
2131-
constructor][`new URL(input)`] or the legacy [`url.parse()`][] to be parsed.
2130+
An invalid URL was passed to the [WHATWG][WHATWG URL API] [`URL` constructor][]
2131+
[`new URL(input)`][] or the legacy [`url.parse()`][] to be parsed.
21322132
The thrown error object typically has an additional property `'input'` that
21332133
contains the URL that failed to parse.
21342134

21352135
<a id="ERR_INVALID_URL_PATTERN"></a>
21362136

21372137
### `ERR_INVALID_URL_PATTERN`
21382138

2139-
An invalid URLPattern was passed to the [WHATWG][WHATWG URL API] \[`URLPattern`
2140-
constructor]\[`new URLPattern(input)`] to be parsed.
2139+
An invalid URLPattern was passed to the [WHATWG][WHATWG URL API] [`URLPattern` constructor][]
2140+
[`new URLPattern(input)`][] to be parsed.
21412141

21422142
<a id="ERR_INVALID_URL_SCHEME"></a>
21432143

@@ -4321,6 +4321,9 @@ An error occurred trying to allocate memory. This should never happen.
43214321
[`Object.setPrototypeOf`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf
43224322
[`REPL`]: repl.md
43234323
[`ServerResponse`]: http.md#class-httpserverresponse
4324+
[`URLPattern` constructor]: url.md#class-urlpattern
4325+
[`URLSearchParams` constructor]: url.md#class-urlsearchparams
4326+
[`URL` constructor]: url.md#class-url
43244327
[`Writable`]: stream.md#class-streamwritable
43254328
[`child_process`]: child_process.md
43264329
[`cipher.getAuthTag()`]: crypto.md#ciphergetauthtag
@@ -4352,6 +4355,7 @@ An error occurred trying to allocate memory. This should never happen.
43524355
[`net.Socket.write()`]: net.md#socketwritedata-encoding-callback
43534356
[`net`]: net.md
43544357
[`new URL(input)`]: url.md#new-urlinput-base
4358+
[`new URLPattern(input)`]: url.md#new-urlpatternstring-baseurl-options
43554359
[`new URLSearchParams(iterable)`]: url.md#new-urlsearchparamsiterable
43564360
[`package.json`]: packages.md#nodejs-packagejson-field-definitions
43574361
[`postMessage()`]: worker_threads.md#portpostmessagevalue-transferlist

0 commit comments

Comments
 (0)