Automattic\WooCommerce\StoreApi\Exceptions
OutOfStockException{}
OutOfStockException class.
This exception is thrown when an item in a draft order is out of stock completely.
No Hooks.
Usage
$OutOfStockException = new OutOfStockException(); // use class methods
Methods
No Methods in class.
OutOfStockException{} OutOfStockException{} code WC 8.7.0
class OutOfStockException extends StockAvailabilityException {}