Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Custom Exception types for http #67

Open
GeeH opened this issue Jun 28, 2016 · 1 comment
Open

Custom Exception types for http #67

GeeH opened this issue Jun 28, 2016 · 1 comment

Comments

@GeeH
Copy link
Contributor

GeeH commented Jun 28, 2016

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


@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-http; a new issue has been opened at laminas/laminas-http#16.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants