CoreFiles by mySites.guru
RequestExceptionInterface.php23 lines, 647 bytes, from wordpress-7.2-beta2.zip
Raw History Compare with 7.2-beta1
md5
5ad9124ada702c2d29c3d34e5bd83478
sha1
6549bd221c9d826096fe8cf809b606b124e80a1e
sha256
66c38c6a1f09d7637eb5353945ac269c1b0ced1107f21e2eb2edd32eb99072e6
<?php

namespace WordPress\AiClientDependencies\Psr\Http\Client;

use WordPress\AiClientDependencies\Psr\Http\Message\RequestInterface;
/**
 * Exception for when a request failed.
 *
 * Examples:
 *      - Request is invalid (e.g. method is missing)
 *      - Runtime request errors (e.g. the body stream is not seekable)
 */
interface RequestExceptionInterface extends ClientExceptionInterface
{
    /**
     * Returns the request.
     *
     * The request object MAY be a different object from the one passed to ClientInterface::sendRequest()
     *
     * @return RequestInterface
     */
    public function getRequest(): RequestInterface;
}

The same content is in 44 releases, WordPress 7.0-beta1 to 7.2-RC2. See them all, or every version of this file.