====== getError ======
{#JAPI Joomla.Framework Application JController::getError #}
Gets the error message.
This will return the value that was last set using the [[jcontroller-seterror|setError]] method. If the error has not been set, null will be returned.
===== Syntax =====
string getError ()
===== Examples =====
$controller = new JController();
$controller->setError( 'Just an example' );
echo $controller->getError();
might produce
Just an example
----
~~DISCUSSION~~