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

    Interface DuplicateEnumValuesError

    Returned when an AttributeEnumType or AttributeLocalizedEnumType contains duplicate keys.

    interface DuplicateEnumValuesError {
        code: "DuplicateEnumValues";
        duplicates: string[];
        message: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "DuplicateEnumValues"

    Error identifier.

    duplicates: string[]

    Duplicate keys.

    message: string

    "The enum values contain duplicate keys: $listOfDuplicateKeys."