Skip to content

Commit 25e13c4

Browse files
committed
doc: fix links
1 parent 5ce6875 commit 25e13c4

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

doc/api/errors.md

Lines changed: 4 additions & 8 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,16 @@ An invalid URI was passed.
21272127

21282128
### `ERR_INVALID_URL`
21292129

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.
2130+
An invalid URL was passed to the [WHATWG][WHATWG URL API] [`URL` constructor][`new URL(input)`] or the legacy [`url.parse()`][] to be parsed.
21322131
The thrown error object typically has an additional property `'input'` that
21332132
contains the URL that failed to parse.
21342133

21352134
<a id="ERR_INVALID_URL_PATTERN"></a>
21362135

21372136
### `ERR_INVALID_URL_PATTERN`
21382137

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

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

@@ -4321,9 +4320,6 @@ An error occurred trying to allocate memory. This should never happen.
43214320
[`Object.setPrototypeOf`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf
43224321
[`REPL`]: repl.md
43234322
[`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
43274323
[`Writable`]: stream.md#class-streamwritable
43284324
[`child_process`]: child_process.md
43294325
[`cipher.getAuthTag()`]: crypto.md#ciphergetauthtag

0 commit comments

Comments
 (0)