mark_story
|
04d3feb6c0
|
Unknown errors cannot be mapped as they generate another error. Having a default case doesn't make much sense here.
Adding additional coverage to ErrorHandler.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
e88cdc8a01
|
Adding more documentation.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
55623ace92
|
Adding deprecated error level to the map switch.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
f2f3f13c75
|
Adding exception logging configuration setting. Allows uncaught exceptions to be logged.
Implementing logging, and adding a test case.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
14a6368b39
|
Adding missed isset() check
Making ConsoleErrorHandler handle both errors, and exceptions in CLI.
|
2010-11-25 22:51:30 -05:00 |
|
mark_story
|
e2c8e20afa
|
Pulling exception page rendering out into a separate class, ErrorHandler felt very large and confusing, as it had a few too many jobs.
|
2010-11-25 22:51:29 -05:00 |
|
mark_story
|
722b1a02ba
|
Adding Debugger output to ErrorHandler::handleError, and adding tracing for log writes.
Renaming Debugger::_output() -> Debugger::outputError() and making it public instead of protected.
|
2010-11-25 22:51:29 -05:00 |
|
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 |
|