code/error/error.php
public static function handleVerbose(&$error, $options)
	{
		JLog::add('JError::handleVerbose() is deprecated.', JLog::WARNING, 'deprecated');

		$level_human = self::translateErrorLevel($error->get('level'));
		$info = $error->get('info');

		if (isset($_SERVER['HTTP_HOST']))
		{
			// Output as html
			echo "<br /><b>J$level_human</b>: " . $error->get('message') . "<br />\n";

			if ($info != null)
			{
				echo "&#160;&#160;&#160;" . $info . "<br />\n";
			}

			echo $error->getBacktrace(true);
		}
		else
		{
			// Output as simple text
			echo "J$level_human: " . $error->get('message') . "\n";

			if ($info != null)
			{
				echo "\t" . $info . "\n";
			}
		}

		return $error;
	}
public static function handleVerbose(&$error, $options)
	{
		JLog::add('JError::handleVerbose() is deprecated.', JLog::WARNING, 'deprecated');

		$level_human = self::translateErrorLevel($error->get('level'));
		$info = $error->get('info');

		if (isset($_SERVER['HTTP_HOST']))
		{
			// Output as html
			echo "<br /><b>J$level_human</b>: " . $error->get('message') . "<br />\n";

			if ($info != null)
			{
				echo "&#160;&#160;&#160;" . $info . "<br />\n";
			}

			echo $error->getBacktrace(true);
		}
		else
		{
			// Output as simple text
			echo "J$level_human: " . $error->get('message') . "\n";

			if ($info != null)
			{
				echo "\t" . $info . "\n";
			}
		}

		return $error;
	}
public static function handleVerbose ( & $ error , $ options ) { JLog :: add ( 'JError::handleVerbose() is deprecated.' , JLog :: WARNING , 'deprecated' ) ; $ level_human = self :: translateErrorLevel ( $ error -> get ( 'level' ) ) ; $ info = $ error -> get ( 'info' ) ; if ( isset ( $ _SERVER [ 'HTTP_HOST' ] ) ) { // Output as html echo "<br /><b>J$level_human</b>: " . $ error -> get ( 'message' ) . "<br />\n" ; if ( $ info != null ) { echo "&#160;&#160;&#160;" . $ info . "<br />\n" ; } echo $ error -> getBacktrace ( true ) ; } else { // Output as simple text echo "J$level_human: " . $ error -> get ( 'message' ) . "\n" ; if ( $ info != null ) { echo "\t" . $ info . "\n" ; } } return $ error ; }
Verbose error handler
- Echos the error message to output as well as related info

@param   JException  &$error   Exception object to handle
@param   array       $options  Handler options

@return  JException  The exception object

@deprecated  12.1
@see         JError::raise()
@since       11.1
Verbose error handler - Echos the error message to output as well as related info