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