JError::raiseError/1.5
From Joomla! Documentation
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 & 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). |
- Returns object $error The configured object
- Defined on line 170 of libraries/joomla/error/error.php
- Since
- Referenced by
- JSessionStorageXcache::__construct
- JSessionStorageMemcache::__construct
- JCacheStorageMemcache::__construct
- JSessionStorageEaccelerator::__construct
- JSessionStorageApc::__construct
- JFactory::_createDBO
- JController::_createView
- JPath::check
- JFolder::copy
- JController::execute
- JFactory::getApplication
- JRegistryFormat::getInstance
- JDocument::getInstance
- JDatabase::getInstance
- JCache::getInstance
- JRouter::getInstance
- JPathway::getInstance
- JApplication::getInstance
- JView::getName
- JModel::getName
- JController::getName
- JApplication::getName
- JModel::getTable
- JController::getView
- JDocument::loadRenderer
- JView::loadTemplate
- JTable::move
- JDatabaseMySQLi::query
- JDatabaseMySQL::query
- JDocumentFeed::render
- setErrorHandling
- JObserver::update
See also
-
JError::raiseError on api.joomla.org
-
JError source code on JoomlaCode
-
Class JError
-
Subpackage Error
- Other versions of JError::raiseError
SeeAlso:JError::raiseError [Edit See Also]
User contributed notes
<CodeExamplesForm />