InvalidResponseBodyException
extends Exception
in package
implements
Stringable, ExceptionInterface
FinalYes
Table of Contents
Interfaces
- Stringable
- ExceptionInterface
Properties
- $httpBody : mixed
- $httpStatus : int
- $response : ResponseInterface
Methods
- __construct() : mixed
- __toString() : string
- getMessageFromHttpBody() : string|null
Properties
$httpBody read-only
public
mixed
$httpBody
$httpStatus read-only
public
int
$httpStatus
$response read-only
public
ResponseInterface
$response
Methods
__construct()
public
__construct(ResponseInterface $response, mixed $httpBody[, Throwable|null $previous = null ]) : mixed
Parameters
- $response : ResponseInterface
- $httpBody : mixed
- $previous : Throwable|null = null
__toString()
public
__toString() : string
Return values
stringgetMessageFromHttpBody()
public
getMessageFromHttpBody() : string|null