Function shouldRetry

  • Check whether an error indicates that a retry can be attempted

    Parameters

    • error: Error | ErrnoException

      The error thrown by the network request

    Returns boolean

    Whether the error indicates a retry should be attempted

Generated using TypeDoc