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