mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
More documentation.
This commit is contained in:
parent
04d3feb6c0
commit
1cffea379f
1 changed files with 5 additions and 1 deletions
|
@ -21,7 +21,9 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Error Handler.
|
||||
* Error Handler provides basic error and exception handling for your application.
|
||||
*
|
||||
* ### Uncaught exception handling
|
||||
*
|
||||
* Captures and handles all unhandled exceptions. Displays helpful framework errors when debug > 1.
|
||||
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
|
||||
|
@ -31,6 +33,7 @@
|
|||
*
|
||||
* You can implement application specific exception handling in one of a few ways:
|
||||
*
|
||||
* - Set Configure::write('Exception.handler', 'YourClass::yourMethod');
|
||||
* - Create a AppController::appError();
|
||||
* - Create an AppError class.
|
||||
*
|
||||
|
@ -63,6 +66,7 @@
|
|||
*
|
||||
* @package cake
|
||||
* @subpackage cake.cake.libs
|
||||
* @see ExceptionRenderer for more information on how to customize exception rendering.
|
||||
*/
|
||||
class ErrorHandler {
|
||||
|
||||
|
|
Loading…
Reference in a new issue