1
0
Fork 0
mirror of synced 2024-07-08 07:55:48 +12:00

Attribute keys must be unique and can't use unique()

This commit is contained in:
Vincent (Wen Yu) Ge 2023-10-04 13:56:18 +00:00
parent c12999dc74
commit e5c828fbbd

View file

@ -549,7 +549,7 @@ return [
], ],
Exception::ATTRIBUTE_ALREADY_EXISTS => [ Exception::ATTRIBUTE_ALREADY_EXISTS => [
'name' => Exception::ATTRIBUTE_ALREADY_EXISTS, 'name' => Exception::ATTRIBUTE_ALREADY_EXISTS,
'description' => 'Attribute with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID.', 'description' => 'Attribute with the requested ID already exists. Attribute IDs must be unique, try again with a different ID.',
'code' => 409, 'code' => 409,
], ],
Exception::ATTRIBUTE_LIMIT_EXCEEDED => [ Exception::ATTRIBUTE_LIMIT_EXCEEDED => [