protected function formatException(\Exception $e)
	{
		if ($this->debug)
		{
			$location = $e->getMessage().' in '.$e->getFile().':'.$e->getLine();

			return 'Error in exception handler: '.$location;
		}

		return 'Error in exception handler.';
	}
protected function formatException(\Exception $e)
	{
		if ($this->debug)
		{
			$location = $e->getMessage().' in '.$e->getFile().':'.$e->getLine();

			return 'Error in exception handler: '.$location;
		}

		return 'Error in exception handler.';
	}
protected function formatException ( \ Exception $ e ) { if ( $ this -> debug ) { $ location = $ e -> getMessage ( ) . ' in ' . $ e -> getFile ( ) . ':' . $ e -> getLine ( ) ; return 'Error in exception handler: ' . $ location ; } return 'Error in exception handler.' ; }
Format an exception thrown by a handler.

@param  \Exception  $e
@return string
Format an exception thrown by a handler .