# depicter/trunk/modules/Psr/Http/Client/RequestExceptionInterface.php

Depicter — Popup &amp; Slider Builder, version trunk. 25 lines.

- Page: https://pluginprobe.com/plugins/depicter/trunk/code/modules/Psr/Http/Client/RequestExceptionInterface.php
- Raw: https://pluginprobe.com/plugins/depicter/trunk/raw/modules/Psr/Http/Client/RequestExceptionInterface.php
- Modified: 2022-06-01T06:26:20+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/depicter/trunk/code/modules/Psr/Http/Client/RequestExceptionInterface.php#L10-L20`.

```php
<?php

namespace Depicter\Psr\Http\Client;

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

```
