Automattic\WooCommerce\Checkout\Helpers

ReserveStockException::getErrorCode()publicWC 1.0

Returns the error code.

Method of the class: ReserveStockException{}

No Hooks.

Returns

String.

Usage

$ReserveStockException = new ReserveStockException();
$ReserveStockException->getErrorCode();

ReserveStockException::getErrorCode() code WC 9.8.5

public function getErrorCode() {
	return $this->error_code;
}