cakephp2-php8/lib/Cake/Error
mark_story aa7448e3ed Fixing incorrect exit codes on console exceptions.
Uncaught exceptions on the console would result in exit code 0.
This is not helpful in *nix scripting.

- Update the ConsoleErrorHandler to not inherit from the web error handler.
- Make ErrorHandler::_mapErrorCode() public as it isn't overly private.
- Make ConsoleErrorHandler methods instance methods so mocking can be done.
- Add a _stop method to correctly exit.
- Update tests.
2011-10-03 22:48:50 -04:00
..
ErrorHandler.php Fixing incorrect exit codes on console exceptions. 2011-10-03 22:48:50 -04:00
ExceptionRenderer.php Adding error code checking around CakeException handling 2011-09-27 20:39:32 -04:00
exceptions.php Adding an exception for when a PDO interface is not installed. 2011-09-03 17:03:31 +01:00