Model
CartLockedException
Magento\Quote\Model\CartLockedException
What it does
CartLockedException is a custom exception thrown when a shopping cart is currently locked and cannot be modified.
Developers would catch this exception when attempting to perform operations on a cart that is being processed by another operation, such as during checkout or payment processing, to handle the locked state gracefully and prevent concurrent modifications.