[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 namespace GuzzleHttp\Exception; 3 4 use GuzzleHttp\Message\ResponseInterface; 5 6 /** 7 * Exception when a client is unable to parse the response body as XML or JSON 8 */ 9 class ParseException extends TransferException 10 { 11 /** @var ResponseInterface */ 12 private $response; 13 14 public function __construct( 15 $message = '', 16 ResponseInterface $response = null, 17 \Exception $previous = null 18 ) { 19 parent::__construct($message, 0, $previous); 20 $this->response = $response; 21 } 22 /** 23 * Get the associated response 24 * 25 * @return ResponseInterface|null 26 */ 27 public function getResponse() 28 { 29 return $this->response; 30 } 31 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |