CoreFiles by mySites.guru
NetworkExceptionInterface.php23 lines, 719 bytes, from wordpress-7.2-beta3.zip
Raw History Compare with 7.2-beta2
md5
bfececc3b90b2beffca7f5c4a2510903
sha1
8c38e78b36c7d3af3543c14ed0ad6700767f0a1e
sha256
3bc010f6ba70342333029e1db5a732164948c655df39bd9be23f633a7c111248
<?php

namespace WordPress\AiClientDependencies\Psr\Http\Client;

use WordPress\AiClientDependencies\Psr\Http\Message\RequestInterface;
/**
 * Thrown when the request cannot be completed because of network issues.
 *
 * There is no response object as this exception is thrown when no response has been received.
 *
 * Example: the target host name can not be resolved or the connection failed.
 */
interface NetworkExceptionInterface 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.