Hello, I was wondering how I could catch an error in Cake? For example if I do $this->Model->save() in a controller and it fails, how can I discover a failure reason. For example: I would like to be emailed if an operation fails due to a database disconnection. save() function return only true or false.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
