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