code/error/error.php
public static function customErrorHandler($level, $msg)
	{
		JLog::add('JError::customErrorHandler() is deprecated.', JLog::WARNING, 'deprecated');

		self::raise($level, '', $msg);
	}
public static function customErrorHandler($level, $msg)
	{
		JLog::add('JError::customErrorHandler() is deprecated.', JLog::WARNING, 'deprecated');

		self::raise($level, '', $msg);
	}
public static function customErrorHandler ( $ level , $ msg ) { JLog :: add ( 'JError::customErrorHandler() is deprecated.' , JLog :: WARNING , 'deprecated' ) ; self :: raise ( $ level , '' , $ msg ) ; }
Display a message to the user

@param   integer  $level  The error level - use any of PHP's own error levels
for this: E_ERROR, E_WARNING, E_NOTICE, E_USER_ERROR,
E_USER_WARNING, E_USER_NOTICE.
@param   string   $msg    Error message, shown to user if need be.

@return  void

@deprecated  12.1
@since   11.1
Display a message to the user