error

abstract fun error(): Impl

Fetch Response: Error.

Creates a new FetchResponse instance (of type Impl) which indicates a network-related error state.

From MDN: "The error() method of the Response interface returns a new Response object associated with a network error."

See also: MDN, Response.error.