Automattic\WooCommerce\StoreApi\Exceptions
StockAvailabilityException::getErrorCode()
Returns the error code.
Method of the class: StockAvailabilityException{}
No Hooks.
Return
String
.
Usage
$StockAvailabilityException = new StockAvailabilityException(); $StockAvailabilityException->getErrorCode();
StockAvailabilityException::getErrorCode() StockAvailabilityException::getErrorCode code WC 9.3.1
public function getErrorCode() { return $this->error_code; }