public function format(\Throwable $e, $h1)
	{
		// get body content with stack trace content (stack formatted with strategy passed as constructor parameter)
		return $this->body($e, $h1, $this->_stackTraceFormatter->format(new StackTrace($e)));
	}
public function format(\Throwable $e, $h1)
	{
		// get body content with stack trace content (stack formatted with strategy passed as constructor parameter)
		return $this->body($e, $h1, $this->_stackTraceFormatter->format(new StackTrace($e)));
	}
public function format ( \ Throwable $ e , $ h1 ) { // get body content with stack trace content (stack formatted with strategy passed as constructor parameter) return $ this -> body ( $ e , $ h1 , $ this -> _stackTraceFormatter -> format ( new StackTrace ( $ e ) ) ) ; }
Format an exception as a string with suitable format

@param \Throwable $e Exception to format
@param string $h1 Title of error page (such as "an error has occured")
@return string
Format an exception as a string with suitable format