HttpClientException
- class Firstred\PostNL\Exception\HttpClientException
- Class HttpClientException.Thrown when the HTTP Client has an error.
Summary
Methods
Properties
- private static property Firstred\PostNL\Exception\HttpClientException::$response
- Type:
\Psr\Http\Message\ResponseInterface
Methods
- public Firstred\PostNL\Exception\HttpClientException::__construct($message=\'\', $code=0, $previous=null, $response=null)
- ResponseException constructor.
- Parameters:
$message (string)
$code (int)
$previous (
Exception| null)$response (
Psr\Http\Message\ResponseInterface| null)
- public Firstred\PostNL\Exception\HttpClientException::setResponse($response)
- Parameters:
$response (
Psr\Http\Message\ResponseInterface)
- public Firstred\PostNL\Exception\HttpClientException::getResponse()
- Returns:
\Psr\Http\Message\ResponseInterface