zend-http icon indicating copy to clipboard operation
zend-http copied to clipboard

Custom Exception types for http

Open GeeH opened this issue 9 years ago • 1 comments

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7498 User: @Ragazzo Created On: 2015-05-07T14:30:36Z Updated At: 2015-05-07T14:41:55Z Body Is it possible to introduce custom exception types for http package? In particular i think TimedOutException would be great to add in curl adapter. Yet this exceptions checks will be done based on string comparison or error codes as for curl, but this custom exceptions types would be useful. So overall following exceptions should be introduced:

  • Zend\Http\Client\Exception\TimedOutException

Comment

User: @Maks3w Created On: 2015-05-07T14:34:39Z Updated At: 2015-05-07T14:34:39Z Body Sounds a good enhancement for me. Do you will work on this?


Comment

User: @Ragazzo Created On: 2015-05-07T14:40:40Z Updated At: 2015-05-07T14:41:08Z Body Yes, but i cant say that i will do it in nearest time, is it ok ?


Comment

User: @Maks3w Created On: 2015-05-07T14:41:41Z Updated At: 2015-05-07T14:41:41Z Body Contributions are welcome at any moment. Take your time :)


GeeH avatar Jun 28 '16 13:06 GeeH

This repository has been closed and moved to laminas/laminas-http; a new issue has been opened at https://github.com/laminas/laminas-http/issues/16.

weierophinney avatar Dec 31 '19 22:12 weierophinney