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.

Joomla 11.1 JError::getError


Method for retrieving the last exception object in the error stack.

public static function getError ($unset=false)
Parameter Type Default Description
$unset false
  • Returns mixed Last exception object in the error stack or boolean false if none exist
  • Defined on line 80 of libraries/joomla/error/error.php
  • Since Joomla 11.1

See also

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

User contributed notes

Code Examples