NetworkError

request~ NetworkError

An error, resulting from a network error. This means that we weren't able to reach the server - the network connection might be unavailable, or the service might be down.

Constructor

new NetworkError(exception, request, …args)

Parameters:
Name Type Attributes Description
exception Error

the original error

request object

the request url along with any options passed along

args any <repeatable>

further arguments to pass to Error

Source:

Members

exception :Error

The original exception that was thrown.

Source:

extra :Object

Get an "extra" object: a JSON-encodeable object that can be sent to Sentry

Source:

request :object

Information about the failing request, like the URL and headers

Source: