JError::raiseError
From Joomla! Documentation
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.
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). |
- Returns object $error The configured object
- Defined on line 187 of libraries/joomla/error/error.php
- Since
- 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
- JDatabaseSQLSrv::query
- JDatabaseSQLAzure::query
- JDatabaseMySQLi::query
- JDatabaseMySQL::query
- JDocumentFeed::render
- JComponentHelper::renderComponent
- setErrorHandling
See also[edit]
- JError::raiseError source code on BitBucket
- Class JError
- Subpackage Error
- Other versions of JError::raiseError
Template:SeeAlso:JError::raiseError [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />