@gradientedge/commercetools-utils
    Preparing search index...

    Interface ConcurrentModificationError

    Returned when the request conflicts with the current state of the involved resources. Typically, the request attempts to modify a resource that is out of date (that is modified by another client since it was last retrieved). The client application should resolve the conflict (with or without involving the end user) before retrying the request.

    interface ConcurrentModificationError {
        code: "ConcurrentModification";
        currentVersion?: number;
        message: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "ConcurrentModification"

    Error identifier.

    currentVersion?: number

    Current version of the resource.

    message: string

    "Object $resourceId has a different version than expected. Expected: $expectedVersion - Actual: $currentVersion."