Class FetchError

Error thrown when there is a network error.

Hierarchy

  • Error
    • FetchError

Constructors

Properties

cause: Error
message: string
name: "FetchError" = ...
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void