mark_story
|
e68a1a094e
|
Moving error and exception handler configuration into Configure, as settings. You can use Error.handler and Exception.handler to define the error and exception handlers for your application.
|
2010-11-25 22:51:28 -05:00 |
|
mark_story
|
da3bf1c747
|
Adding ErrorHandler::handleError for consolidating core error handling out of CakeLog and Debugger.
|
2010-11-25 22:51:28 -05:00 |
|
Mark Story
|
0f23634382
|
Adding stack traces to error400 and error500 when debug > 0.
Adding the stack trace element.
|
2010-09-06 18:09:11 -04:00 |
|
Mark Story
|
09fd8ba463
|
Adding stack trace output to the framework errors.
|
2010-09-06 17:54:48 -04:00 |
|
Mark Story
|
e5b4dd94d7
|
Renaming exceptions to not use Error400, Error500. Instead HTTP status words are used.
Adding more common HTTP status errors.
Updating tests for ErrorHandler.
|
2010-09-05 02:05:31 -04:00 |
|
Mark Story
|
d198230e61
|
Fixing issue where errors that did not have a 500+ code would use the incorrect status code.
|
2010-09-04 19:06:10 -04:00 |
|
Mark Story
|
4d863618f5
|
Refactoring exception handling so codes are much more flexible and easy to change.
Made error404 and error500 more generic.
Removed error() as it didn't really make that much sense.
|
2010-09-04 15:38:10 -04:00 |
|
Mark Story
|
fa7549dc4c
|
Fixing comments and removing cakeError(). Instead you should be throwing exceptions.
|
2010-09-04 01:34:45 -04:00 |
|
Mark Story
|
8c428ff8a8
|
Moving where AppError is used, as infinite recursion is no fun.
|
2010-09-03 15:03:33 -04:00 |
|
Mark Story
|
f2db19767d
|
Adding in support for AppError.
|
2010-09-03 10:30:35 -04:00 |
|
Mark Story
|
3940b059a3
|
Adding a big docblock to explain how to setup application exception handling.
|
2010-09-02 16:39:09 -04:00 |
|
Mark Story
|
063fcf557d
|
Moving error handler inclusion to before Configure::bootstrap() so app error handlers can be created.
Fixing issue where unknown exception types would not be handled spewing out errors. Unknown exception types are interpreted as 500 errors.
|
2010-09-01 20:29:55 -04:00 |
|
mark_story
|
1f30c06695
|
Fixing method coercion in error404 so it only coerces CakeExceptions.
Test Added.
|
2010-08-29 23:39:28 -04:00 |
|
mark_story
|
f1164c93d6
|
Updating the various CakeExceptions to take arrays in their constructors. This allows for the existing templates to continue working, as well as generalize the way in which errors are handled. This change also makes the messages coming out of exceptions more readable and removes string hackery.
|
2010-08-29 21:37:25 -04:00 |
|
mark_story
|
99cde14432
|
No more skipped tests for ErrorHandler.
Removing missing_model as it was never called.
|
2010-08-29 13:49:10 -04:00 |
|
mark_story
|
7fb62e9b7e
|
Updating more error messages to use exceptions.
|
2010-08-29 01:26:21 -04:00 |
|
mark_story
|
88c66c057d
|
Renaming error.php to error_handler.php to better match its class name.
|
2010-08-29 01:00:36 -04:00 |
|