Class: NetworkError

Errors~NetworkError(message, resource, options)

Representing a network error with message, resource and options fetched

Constructor

new NetworkError(message, resource, options)

Creating an HTTP error with message and status code

Parameters:
Name Type Description
message string

Error message

resource string

The resource has been fetched

options string

The resource options

Source:

Extends

  • Error