Closed
Description
Right now all problems in Http\Client::send()
will happen in one Client\Adapter\Exception\RuntimeException
with a (often sprintf
) string and error code 0
.
Examples:
throw new AdapterException\RuntimeException('Unable to Connect to ' . $host . ':' . $port);
throw new AdapterException\RuntimeException('Trying to write but we are not connected');
With this Exception
I cannot handle useful reactions in my software.
My Feature Request hopefully triggers the discussion to cluster Exceptions
or work with Exception::code
to distinguish problems.