Automattic\WooCommerce\Vendor\GraphQL\Error

Error::getUnaliasedPath │ public │ WC 1.0

Returns an array describing the path from the root value to the field which produced this error. Only included for execution errors. This will never include aliases.

Method of the class: Error{}

No Hooks.

Returns

list<int|string>|null.

Usage

$Error = new Error();
$Error->getUnaliasedPath(): ?array;

Error::getUnaliasedPath() code WC 11.1.2

public function getUnaliasedPath(): ?array
{
    return $this->unaliasedPath;
}