Quickstart Node.js
Preparing search index...
index
ErrorContext
Interface ErrorContext
interface
ErrorContext
{
fetch
:
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
,
)
=>
Promise
<
Response
>
;
url
:
string
;
init
:
RequestInit
;
error
:
unknown
;
response
?:
Response
;
}
Index
Properties
fetch
url
init
error
response?
Properties
fetch
fetch
:
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
=>
Promise
<
Response
>
Type declaration
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
RequestInfo
|
URL
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
url
url
:
string
init
init
:
RequestInit
error
error
:
unknown
Optional
response
response
?:
Response
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
fetch
url
init
error
response
Quickstart Node.js
Loading...
MDN Reference