ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
All Data Structures Namespaces Files Functions Variables Typedefs Modules Pages
Psr\Http\Client\RequestExceptionInterface Interface Reference

Exception for when a request failed. More...

+ Inheritance diagram for Psr\Http\Client\RequestExceptionInterface:
+ Collaboration diagram for Psr\Http\Client\RequestExceptionInterface:

Public Member Functions

 getRequest ()
 Returns the request. More...
 

Detailed Description

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)

Definition at line 14 of file RequestExceptionInterface.php.

Member Function Documentation

◆ getRequest()

Psr\Http\Client\RequestExceptionInterface::getRequest ( )

Returns the request.

The request object MAY be a different object from the one passed to ClientInterface::sendRequest()

Returns
RequestInterface

The documentation for this interface was generated from the following file: