zendframework / zend-http

Http component from Zend Framework
BSD 3-Clause "New" or "Revised" License
134 stars 85 forks source link

Custom Exception types for http #67

Open GeeH opened 8 years ago

GeeH commented 8 years ago

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:


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 :)


weierophinney commented 4 years ago

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.