43 return $this->response->getStatus();
An exception for terminatinating execution or to throw for unit testing.
This exception represents a HTTP error coming from the Client.
getHttpStatus()
The http status code for the error.
getResponse()
Returns the full response object.
__construct(ResponseInterface $response)
Constructor.
An exception representing a HTTP error.
This interface represents a HTTP response.