Use ER_DUP_UNIQUE

Because MySQL uses it not ER_DUP_ENTRY.