Automattic\WooCommerce\StoreApi\Exceptions
TooManyInCartException{}
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 7.7.0
class TooManyInCartException extends StockAvailabilityException {}