Log in
Model

StoreIsInactiveException

Magento\Store\Model\StoreIsInactiveException

What it does

This exception class is thrown when attempting to access or interact with a store that is not currently active in Magento 2.

Developers should catch this exception when performing store-related operations to handle cases where a store has been disabled.

It provides a default error message 'Store is inactive' if no custom message is provided.