algoliasearch/src/main/java/com/algolia/search/saas/AlgoliaException.java
public boolean isTransient() {
        Throwable cause = getCause();
        if (cause == null) {
            return isServerError(statusCode);
        } else if (cause instanceof AlgoliaException) {
            return ((AlgoliaException)cause).isTransient();
        } else if (cause instanceof IOException) {
            return true;
        } else {
            return false;
        }
    }
public boolean isTransient() {
        Throwable cause = getCause();
        if (cause == null) {
            return isServerError(statusCode);
        } else if (cause instanceof AlgoliaException) {
            return ((AlgoliaException)cause).isTransient();
        } else if (cause instanceof IOException) {
            return true;
        } else {
            return false;
        }
    }
Test whether this error is transient.

@return true if transient, false if fatal.