wp-includes/php-ai-client/src/Providers/Http/Exception/ClientException.php:34Returns the request that failed as our Request DTO.
WordPress\AiClient\Providers\Http\DTO\Request public function getRequest(): Request { if ($this->request === null) { throw new \RuntimeException('Request object not available. This exception was directly instantiated. ' . 'Use a factory method that provides request context.'); } return $this->request; }Introduced in 0.2.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/src/Providers/Http/Exception/ClientException.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.