Model
MergeConflictException
Magento\Search\Model\Synonym\MergeConflictException
What it does
This exception class is thrown when there's a conflict while merging synonym groups in Magento's search functionality.
Developers encounter this when attempting to insert or update synonym groups that would create conflicting synonym definitions, and can retrieve the specific conflicting synonyms using the getConflictingSynonyms() method to handle or display the conflict appropriately.
Public Methods
- getConflictingSynonyms()