[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/third-party/Psr/Http/Client/ -> RequestExceptionInterface.php (source)

   1  <?php
   2  
   3  namespace WordPress\AiClientDependencies\Psr\Http\Client;
   4  
   5  use WordPress\AiClientDependencies\Psr\Http\Message\RequestInterface;
   6  /**
   7   * Exception for when a request failed.
   8   *
   9   * Examples:
  10   *      - Request is invalid (e.g. method is missing)
  11   *      - Runtime request errors (e.g. the body stream is not seekable)
  12   */
  13  interface RequestExceptionInterface extends ClientExceptionInterface
  14  {
  15      /**
  16       * Returns the request.
  17       *
  18       * The request object MAY be a different object from the one passed to ClientInterface::sendRequest()
  19       *
  20       * @return RequestInterface
  21       */
  22      public function getRequest(): RequestInterface;
  23  }


Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref