Contentful Personalization & Analytics
    Preparing search index...

    Options passed to callback functions invoked by fetch wrappers.

    Not all fields are guaranteed to be present in all callback scenarios.

    interface FetchMethodCallbackOptions {
        apiName?: string;
        attemptNumber?: number;
        error?: Error;
        retriesLeft?: number;
    }
    Index

    Properties

    apiName?: string

    Name of the API associated with the request.

    attemptNumber?: number

    The current attempt number (for retry callbacks).

    error?: Error

    Error that caused the callback to be invoked, if available.

    retriesLeft?: number

    Number of retry attempts remaining (for retry callbacks).