Returned when an AttributeEnumType or AttributeLocalizedEnumType contains duplicate keys.

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

Indexable

[key: string]: any

Properties

code: "DuplicateEnumValues"
duplicates: string[]

Duplicate keys.

message: string

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

Generated using TypeDoc