Skip to main content

MutationFieldErrorType

An enum specific to each field, explaining why validation failed.

enum MutationFieldErrorType {
VALIDATION
REQUIRED
NOT_FOUND
}

Values

MutationFieldErrorType.VALIDATION

The field was provided, but didn't pass the requirements of the field. See message for details on why.

MutationFieldErrorType.REQUIRED

The field is required to be provided. String inputs may be trimmed and checked for emptiness.

MutationFieldErrorType.NOT_FOUND

The input field referenced an entity that wasn't found.

Member of

MutationFieldError object