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

    Interface InvalidFieldError

    Returned when a field has an invalid value.

    interface InvalidFieldError {
        allowedValues?: any[];
        code: "InvalidField";
        field: string;
        invalidValue: any;
        message: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    allowedValues?: any[]

    Fixed set of allowed values for the field, if any.

    code: "InvalidField"

    Error identifier.

    field: string

    Name of the field with the invalid value.

    invalidValue: any

    Value invalid for the field.

    message: string

    "The value $invalidValue is not valid for field $field."