Yes, a lot. And CakePHP 2.0 comes with an ExceptionRenderer that can be
configured:
http://book.cakephp.org/2.0/en/development/exceptions.html
On 12.10.2011 13:13, [email protected] wrote:
Good topic, I have neglected using exceptions in my app because I
wasn't sure how to make it work with cake.
Does cake itself throw any exceptions I could catch in my code or do I
have to throw them myself?
-flosky
Elte Hupkes <[email protected]> schrieb:
I personally put my exceptions in ([plugin-if-any])/Lib/Error/
Exception/NameOfTheException.php and use
App::uses('NameOfTheException', 'Error/Exception') where they're
needed. Seemed like a Cake'ish way to do it, and they're not included
unless one is actually thrown.
Another approach would be to include an exceptions.php file in
bootstrap like you said.
On Oct 12, 2:54 am, Lucho Molina<[email protected]> wrote:
> Oh... and the file would be where? in the lib folder?
--
Our newest site for the community: CakePHP Video Tutorialshttp://tv.cakephp.org
Check out the new CakePHP Questions sitehttp://ask.cakephp.org and help
others with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group
athttp://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and
help others with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this
group at http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php