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 9.9.5
public function getErrorCode() { return $this->error_code; }