API17

API17:JError::raiseError

From Joomla! Documentation

Revision as of 23:27, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JError::raiseError

Description

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

Template:Description:JError::raiseError [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JError::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).

Returns

object $error The configured object

Defined in

libraries/joomla/error/error.php

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JError::raiseError

Examples

<CodeExamplesForm />