Automattic\WooCommerce\StoreApi\Exceptions

InvalidStockLevelsInCartException::getError()publicWC 1.0

Returns the list of messages.

Method of the class: InvalidStockLevelsInCartException{}

No Hooks.

Return

WP_Error.

Usage

$InvalidStockLevelsInCartException = new InvalidStockLevelsInCartException();
$InvalidStockLevelsInCartException->getError();

InvalidStockLevelsInCartException::getError() code WC 8.7.0

public function getError() {
	return $this->error;
}