Issues

ZF-6797: Please add exception codes to all exceptions in Zend_Gdata

Issue Type: Improvement Created: 2009-05-25T11:13:34.000+0000 Last Updated: 2012-11-20T20:53:21.000+0000 Status: Closed Fix version(s): Reporter: Till Klampaeckel (till) Assignee: None Tags: - Zend_Gdata

Related issues: Attachments:

Description

It's just not efficient to strstr() on exception messages, in order to figure out what went wrong. An example is when a video was removed from YouTube, you get an exception which says that the service returned 'Video not found, 404' (along those lines), but the exception code is 0. Instead a 404 error code in the exception would be expected and also easier to handle in the application.

Comments

Posted by Rob Allen (rob) on 2012-11-20T20:53:21.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts