Automattic\WooCommerce\StoreApi\Exceptions

RouteException::getErrorCode()publicWC 1.0

Returns the error code.

Method of the class: RouteException{}

No Hooks.

Return

String.

Usage

$RouteException = new RouteException();
$RouteException->getErrorCode();

RouteException::getErrorCode() code WC 8.9.0

public function getErrorCode() {
	return $this->error_code;
}