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

    Interface EnumKeyAlreadyExistsError

    Returned when an AttributeEnumType or AttributeLocalizedEnumType contains a key that already exists.

    interface EnumKeyAlreadyExistsError {
        code: "EnumKeyAlreadyExists";
        conflictingAttributeName: string;
        conflictingEnumKey: string;
        message: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "EnumKeyAlreadyExists"

    Error identifier.

    conflictingAttributeName: string

    Name of the conflicting Attribute.

    conflictingEnumKey: string

    Conflicting enum key.

    message: string

    "The $attributeName attribute definition already contains an enum value with the key $enumKey."