FieldError

  • The provided content describes an Enum for possible field errors.

  • Various error types are defined, including unspecified, unknown, required field missing, immutable field mutation, invalid value, value must be unset, empty required list, field cannot be cleared, blocked value, and field can only be cleared.

  • Each Enum entry corresponds to a specific field error condition.

Enum describing possible field errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

REQUIRED

The required field was not present.

IMMUTABLE_FIELD

The field attempted to be mutated is immutable.

INVALID_VALUE

The field's value is invalid.

VALUE_MUST_BE_UNSET

The field cannot be set.

REQUIRED_NONEMPTY_LIST

The required repeated field was empty.

FIELD_CANNOT_BE_CLEARED

The field cannot be cleared.

BLOCKED_VALUE

The field's value is on a deny-list for this field.

FIELD_CAN_ONLY_BE_CLEARED

The field's value cannot be modified, except for clearing.