Skip to content

Commit

Permalink
Add missing doc blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 22, 2013
1 parent 04b549f commit 682ce75
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lib/Cake/Error/BaseErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down

0 comments on commit 682ce75

Please sign in to comment.