Automattic\WooCommerce\Internal\Admin\Settings\Exceptions

ApiException::getErrorCode │ public │ WC 1.0

Returns the error code.

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

Хуков нет.

Возвращает

string. The machine-readable error code.

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

$ApiException = new ApiException();
$ApiException->getErrorCode(): string;

Код ApiException::getErrorCode() WC 11.3.0

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