Global Variable

NSValidationValueErrorKey

The error key for the value that failed to validate.

Declaration

NSString *const NSValidationValueErrorKey;

See Also

Managing Data Validation

- validateValue:forKey:error:

Validates a property value for a given key.

- validateForDelete:

Determines whether the managed object can be deleted in its current state.

- validateForInsert:

Determines whether the managed object can be inserted in its current state.

- validateForUpdate:

Determines whether the managed object's current state is valid.

Validation Error Codes

Error codes related to validation of managed object properties.

NSValidationKeyErrorKey

The error key for the attribute that failed to validate.

NSValidationObjectErrorKey

The error key for the object that failed to validate.

NSValidationPredicateErrorKey

The error key for the predicate that failed to validate.