Automattic\WooCommerce\StoreApi\Exceptions

RouteException::getErrorCode()publicWC 1.0

Returns the error code.

Метод класса: RouteException{}

Хуков нет.

Возвращает

Строку.

Использование

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

Код RouteException::getErrorCode() WC 8.7.0

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