API17:JError::raiseError
From Joomla! Documentation
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
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
- JHtml::_
- JSessionStorageXcache::__construct
- JSessionStorageWincache::__construct
- JSessionStorageMemcache::__construct
- JSessionStorageEaccelerator::__construct
- JSessionStorageApc::__construct
- JModel::__construct
- JControllerForm::__construct
- JControllerAdmin::__construct
- JInstaller::abort
- JPath::check
- JFolder::copy
- JController::createView
- JController::execute
- JArchive::getAdapter
- JFactory::getApplication
- JFormFieldGroupedList::getGroups
- JDocument::getInstance
- JDatabase::getInstance
- JRouter::getInstance
- JPathway::getInstance
- JCacheController::getInstance
- JApplication::getInstance
- JView::getName
- JModel::getName
- JController::getName
- JModel::getTable
- JController::getView
- JDocument::loadRenderer
- JView::loadTemplate
- JDatabaseMySQLi::query
- JDatabaseMySQL::query
- JDocumentFeed::render
- JComponentHelper::renderComponent
- setErrorHandling
See also
Template:SeeAlso:JError::raiseError
Examples
<CodeExamplesForm />