Better Exception Management
Announcing Lenddo PHP SDK v2.1.
This release adds 5 new exception classes that make communicating back exceptions occurring during a request easier to comprehend. Previously to utilize these functions you had to rely on the Guzzle exception class.
documentation
A summary and explanation of these exceptions can be found at docs/handling_exceptions.md
backward compatibility
If you rely on guzzle-specific error features you can still find them under the $e->getPrevious()
method call, assuming $e is the exception. By calling this method you will retrieve the guzzle exception that was originally thrown.