API17

JError::raiseError

From Joomla! Documentation

Revision as of 20:52, 27 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JError::raiseError[edit]

Description[edit]

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

Template: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[edit]

Template:SeeAlso:JError::raiseError [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />