Actions

API17

JError::raiseError

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JError::raiseError

Description

Wrapper method for the method with predefined error level of E_ERROR and backtrace set to true.

Description:JError::raiseError [Edit Descripton]

public static function raiseError (
        $code
        $msg
        $info=null
)
Parameter Type Default Description
$code string The application-internal error code for this error
$msg string The error message, which may also be shown the user if need be.
$info mixed null Optional: Additional error information (usually only developer-relevant information that the user should never see, like a database DSN).

See also

  • Joomla 11.1 JError::raiseError source code on BitBucket
  • Joomla 11.1 Class JError
  • Joomla 11.1 Subpackage Error
  • Other versions of JError::raiseError

SeeAlso:JError::raiseError [Edit See Also]

User contributed notes

<CodeExamplesForm />