doc: fix missing links in the `errors` page · nodejs/node@9b5eb6e

Original file line numberDiff line numberDiff line change

@@ -2183,8 +2183,8 @@ contains the URL that failed to parse.

21832183
21842184

### `ERR_INVALID_URL_PATTERN`

21852185
2186-

An invalid URLPattern was passed to the [WHATWG][WHATWG URL API] \[`URLPattern`

2187-

constructor]\[`new URLPattern(input)`] to be parsed.

2186+

An invalid URLPattern was passed to the [WHATWG][WHATWG URL API]

2187+

[`URLPattern` constructor][`new URLPattern(input)`] to be parsed.

21882188
21892189

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

21902190

@@ -4404,6 +4404,7 @@ An error occurred trying to allocate memory. This should never happen.

44044404

[`net.Socket.write()`]: net.md#socketwritedata-encoding-callback

44054405

[`net`]: net.md

44064406

[`new URL(input)`]: url.md#new-urlinput-base

4407+

[`new URLPattern(input)`]: url.md#new-urlpatternstring-baseurl-options

44074408

[`new URLSearchParams(iterable)`]: url.md#new-urlsearchparamsiterable

44084409

[`package.json`]: packages.md#nodejs-packagejson-field-definitions

44094410

[`postMessage()`]: worker_threads.md#portpostmessagevalue-transferlist