src/Core/Frontcontroller.php
public function exceptionHandler($exception) {
		try {
			// load errorhandler
			$debug = Factory::load('Debug');
			$debug->errorhandler($exception);
		} catch (\Exception $e) {
			echo "<pre>$exception</pre>\n\n";

			// useful if the \Exception handler itself contains errors
			echo "<pre>The Debug class threw an exception:\n$e</pre>";
		}
	}
public function exceptionHandler($exception) {
		try {
			// load errorhandler
			$debug = Factory::load('Debug');
			$debug->errorhandler($exception);
		} catch (\Exception $e) {
			echo "<pre>$exception</pre>\n\n";

			// useful if the \Exception handler itself contains errors
			echo "<pre>The Debug class threw an exception:\n$e</pre>";
		}
	}
public function exceptionHandler ( $ exception ) { try { // load errorhandler $ debug = Factory :: load ( 'Debug' ) ; $ debug -> errorhandler ( $ exception ) ; } catch ( \ Exception $ e ) { echo "<pre>$exception</pre>\n\n" ; // useful if the \Exception handler itself contains errors echo "<pre>The Debug class threw an exception:\n$e</pre>" ; } }
Will be set by the Constructor as global exception handler.
@param	object	$exception	The thrown exception.
@return null
Will be set by the Constructor as global exception handler .