src/app/n2n/core/err/ExceptionHandler.php
private function dispatchException(\Throwable $t) {
		array_unshift($this->dispatchingThrowables, $t);
		$numDispatchingThrowables = sizeof($this->dispatchingThrowables);
		
		if (!N2N::isInitialized() || 2 < $numDispatchingThrowables || (2 == $numDispatchingThrowables 
				&& !($this->dispatchingThrowables[1] instanceof StatusException)) || !$this->stable) {
			if (!isset($_SERVER['HTTP_HOST'])) {
				$this->renderExceptionConsoleInfo($t);
				return;
			}
			
			$this->renderFatalExceptionsHtmlInfo($this->dispatchingThrowables);
			return;
		}
		
		if (!N2N::isHttpContextAvailable()) {
			$this->renderExceptionConsoleInfo($t);
			return;
		}

		try {
			$this->renderBeautifulExceptionView($t);
		} catch (\Throwable $t) {
			$this->handleThrowable($t);
		}
	}
private function dispatchException(\Throwable $t) {
		array_unshift($this->dispatchingThrowables, $t);
		$numDispatchingThrowables = sizeof($this->dispatchingThrowables);
		
		if (!N2N::isInitialized() || 2 < $numDispatchingThrowables || (2 == $numDispatchingThrowables 
				&& !($this->dispatchingThrowables[1] instanceof StatusException)) || !$this->stable) {
			if (!isset($_SERVER['HTTP_HOST'])) {
				$this->renderExceptionConsoleInfo($t);
				return;
			}
			
			$this->renderFatalExceptionsHtmlInfo($this->dispatchingThrowables);
			return;
		}
		
		if (!N2N::isHttpContextAvailable()) {
			$this->renderExceptionConsoleInfo($t);
			return;
		}

		try {
			$this->renderBeautifulExceptionView($t);
		} catch (\Throwable $t) {
			$this->handleThrowable($t);
		}
	}
private function dispatchException ( \ Throwable $ t ) { array_unshift ( $ this -> dispatchingThrowables , $ t ) ; $ numDispatchingThrowables = sizeof ( $ this -> dispatchingThrowables ) ; if ( ! N2N :: isInitialized ( ) || 2 < $ numDispatchingThrowables || ( 2 == $ numDispatchingThrowables && ! ( $ this -> dispatchingThrowables [ 1 ] instanceof StatusException ) ) || ! $ this -> stable ) { if ( ! isset ( $ _SERVER [ 'HTTP_HOST' ] ) ) { $ this -> renderExceptionConsoleInfo ( $ t ) ; return ; } $ this -> renderFatalExceptionsHtmlInfo ( $ this -> dispatchingThrowables ) ; return ; } if ( ! N2N :: isHttpContextAvailable ( ) ) { $ this -> renderExceptionConsoleInfo ( $ t ) ; return ; } try { $ this -> renderBeautifulExceptionView ( $ t ) ; } catch ( \ Throwable $ t ) { $ this -> handleThrowable ( $ t ) ; } }
Decides what exception infos should be rendered.

@param \Throwable $t
Decides what exception infos should be rendered .