Automattic\WooCommerce\StoreApi\Exceptions
TooManyInCartException{}└─ StockAvailabilityException
TooManyInCartException class.
This exception is thrown when more than one of a product that can only be purchased individually is in a cart.
No Hooks.
Usage
$TooManyInCartException = new TooManyInCartException(); // use class methods
Methods
No Methods in class.TooManyInCartException{} TooManyInCartException{} code WC 10.7.0
class TooManyInCartException extends StockAvailabilityException {}