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

    Interface ReferenceExistsError

    Returned when a resource cannot be deleted because it is being referenced by another resource.

    interface ReferenceExistsError {
        code: "ReferenceExists";
        message: string;
        referencedBy?: ReferenceTypeId;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "ReferenceExists"

    Error identifier.

    message: string

    "Can not delete a $resource while it is referenced by at least one $referencedBy."

    referencedBy?: ReferenceTypeId

    Type of referenced resource.