src/mako/error/ErrorHandler.php
protected function handleException($handler, Throwable $exception)
	{
		if($handler instanceof Closure)
		{
			return $handler($exception);
		}

		return $this->handlerFactory($handler)->handle($exception);
	}
protected function handleException($handler, Throwable $exception)
	{
		if($handler instanceof Closure)
		{
			return $handler($exception);
		}

		return $this->handlerFactory($handler)->handle($exception);
	}
protected function handleException ( $ handler , Throwable $ exception ) { if ( $ handler instanceof Closure ) { return $ handler ( $ exception ) ; } return $ this -> handlerFactory ( $ handler ) -> handle ( $ exception ) ; }
Handle the exception.

@param  string|\Closure $handler   Exception handler
@param  \Throwable      $exception Exceotion
@return mixed
Handle the exception .