error

The error() static method of the Response interface returns a new Response object associated with a network error.

MDN Reference