Automattic\WooCommerce\StoreApi\Exceptions

InvalidStockLevelsInCartException::getErrorCode()publicWC 1.0

Returns the error code.

Method of the class: InvalidStockLevelsInCartException{}

No Hooks.

Return

String.

Usage

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

InvalidStockLevelsInCartException::getErrorCode() code WC 8.9.0

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