Skip to content
Permalink
Browse files

Add missing doc blocks.

  • Loading branch information...
markstory committed Aug 22, 2013
1 parent 04b549f commit 682ce759387d239d6897191ed1e9e855975c4384
Showing with 19 additions and 0 deletions.
  1. +19 −0 lib/Cake/Error/BaseErrorHandler.php
@@ -28,8 +28,27 @@
*/
abstract class BaseErrorHandler {
/**
* Display an error message in an environment specific way.
*
* Subclasses should implement this method to display the error as
* desired for the runtime they operate in.
*
* @param array $error An array of error data.
* @param boolean $debug Whether or not the app is in debug mode.
* @return void
*/
abstract protected function _displayError($error, $debug);
/**
* Display an exception in an environment specific way.
*
* Subclasses should implement this method to display an uncaught exception as
* desired for the runtime they operate in.
*
* @param \Exceptino $exception The uncaught exception.
* @return void
*/
abstract protected function _displayException($exception);
/**

0 comments on commit 682ce75

Please sign in to comment.
You can’t perform that action at this time.