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

Custom Exception types for http #67

@GeeH

Description

@GeeH

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


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions