Documentation

RequestException extends Exception
in package
implements RequestExceptionInterface

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)

Interfaces, Classes, Traits and Enums

RequestExceptionInterface

Table of Contents

$request  : RequestInterface
getRequest()  : RequestInterface
Returns the request.

Properties

Methods

getRequest()

Returns the request.

public getRequest() : RequestInterface

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

Return values
RequestInterface

Search results