Model
UnknownStateException
Magento\CatalogSearch\Model\Indexer\Scope\UnknownStateException
What it does
This exception class is thrown when an indexer encounters a state that is not defined in the configuration during catalog search indexing operations.
Developers would catch this exception when working with custom indexer states to handle invalid or unknown state transitions gracefully.
This class is deprecated and has been replaced by ElasticSearch functionality.