/** * {@inheritdoc} */ public static function errorHandler($errno, $errstr, $errfile = '', $errline = 0, $errcontext = array()) { parent::errorHandler($errno, $errstr, $errfile, $errline, $errcontext); if (Kohana::$errors === true) { Kohana::error_handler($errno, $errstr, $errfile, $errline); } }
public static function handleError($code, $description, $file = null, $line = null, $context = null) { // Call Bugsnag Bugsnag::errorHandler($code, $description, $file, $line, $context); // Fall back to cake return parent::handleError($code, $description, $file, $line, $context); }