# tablepress/3.0/libraries/vendor/Psr/Http/Client/RequestExceptionInterface.php

TablePress – Tables in WordPress made easy, version 3.0. 25 lines.

- Page: https://pluginprobe.com/plugins/tablepress/3.0/code/libraries/vendor/Psr/Http/Client/RequestExceptionInterface.php
- Raw: https://pluginprobe.com/plugins/tablepress/3.0/raw/libraries/vendor/Psr/Http/Client/RequestExceptionInterface.php
- Modified: 2022-12-19T11:32:06+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/tablepress/3.0/code/libraries/vendor/Psr/Http/Client/RequestExceptionInterface.php#L10-L20`.

```php
<?php

namespace TablePress\Psr\Http\Client;

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

```
