# searchpro/4.1.18/BerqWP/vendor/psr/http-client/src/RequestExceptionInterface.php

BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS &amp; JavaScript, version 4.1.18. 25 lines.

- Page: https://pluginprobe.com/plugins/searchpro/4.1.18/code/BerqWP/vendor/psr/http-client/src/RequestExceptionInterface.php
- Raw: https://pluginprobe.com/plugins/searchpro/4.1.18/raw/BerqWP/vendor/psr/http-client/src/RequestExceptionInterface.php
- Modified: 2025-07-18T08:37:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/searchpro/4.1.18/code/BerqWP/vendor/psr/http-client/src/RequestExceptionInterface.php#L10-L20`.

```php
<?php

namespace Psr\Http\Client;

use 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;
}

```
