ZF-2386: Better description in exception

Issue Type: Improvement Created: 2008-01-05T12:43:08.000+0000 Last Updated: 2008-03-21T16:25:46.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Thomas Weidner (thomas) Assignee: Fabien MARTY (fab) Tags: - Zend_Cache

Related issues: Attachments:


Zend_Cache's exception when an illegal id has been used should be better written. Instead of Zend_Cache_Exception: Invalid id or tag : must use only [a-zA-Z0-9_]

it would be better to have the illegal id also be written: Zend_Cache_Exception: Invalid id or tag 'my/false*\TAG' : must use only [a-zA-Z0-9_]

Otherwise it can be very painfull to search which of the 1000nd Cache id's is wrong. This would improve usability.


Posted by Fabien MARTY (fab) on 2008-01-06T04:56:43.000+0000

fixed in SVN

Have you found an issue?

See the Overview section for more details.


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

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