Automattic\WooCommerce\StoreApi\Exceptions

TooManyInCartException{}WC 1.0

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{} code WC 8.9.0

class TooManyInCartException extends StockAvailabilityException {}