[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Exception/ -> RequestException.php (summary)

(no description)

File Size: 121 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RequestException:: (6 methods):
  __construct()
  wrapException()
  create()
  getRequest()
  getResponse()
  hasResponse()


Class: RequestException  - X-Ref

HTTP Request exception

__construct($message,RequestInterface $request,ResponseInterface $response = null,\Exception $previous = null)   X-Ref
No description

wrapException(RequestInterface $request, \Exception $e)   X-Ref
Wrap non-RequestExceptions with a RequestException

param: RequestInterface $request
param: \Exception       $e
return: RequestException

create(RequestInterface $request,ResponseInterface $response = null,\Exception $previous = null)   X-Ref
Factory method to create a new exception with a normalized error message

param: RequestInterface  $request  Request
param: ResponseInterface $response Response received
param: \Exception        $previous Previous exception
return: self

getRequest()   X-Ref
Get the request that caused the exception

return: RequestInterface

getResponse()   X-Ref
Get the associated response

return: ResponseInterface|null

hasResponse()   X-Ref
Check if a response was received

return: bool



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1