The error code and domain need to be consistent with MMRecordErrors.h and other errors returned by MMRecord.