Thrown when a request cannot be sent or response cannot be parsed into a PSR-7 response object.
Thrown when the request cannot be completed because of network issues.
There is no response object as this exception is thrown when no response has been received.
Example: the target host name can not be resolved or the connection failed.
Exception for when a request failed.
Examples: