Automattic\WooCommerce\Internal\Admin\Settings\Exceptions
ApiException::getErrorCode
Returns the error code.
Метод класса: ApiException{}
Хуков нет.
Возвращает
Строку. The machine-readable error code.
Использование
$ApiException = new ApiException(); $ApiException->getErrorCode(): string;
Код ApiException::getErrorCode() ApiException::getErrorCode WC 10.9.4
public function getErrorCode(): string {
return $this->error_code;
}