Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JException::getError


Get the most recent error message.

Description:JException::getError [Edit Descripton]

public function getError (
Parameter Type Default Description
$i integer null Option error index
$toString boolean true Indicates if objects should return their error message
  • Returns string Error message
  • Defined on line 222 of libraries/joomla/error/exception.php
  • Since Joomla 11.1

See also

  • Joomla 11.1 JException::getError source code on BitBucket
  • Joomla 11.1 Class JException
  • Joomla 11.1 Subpackage Error
  • Other versions of JException::getError

SeeAlso:JException::getError [Edit See Also]

User contributed notes

<CodeExamplesForm />