JException::getError
Get the most recent error message
Signature
public function getError([integer
$i = null,
[boolean
$toString = true]] )
Parameters
-
$i
- Option error index
-
$toString
- Indicates if JError objects should return their error message
Returns
- string
- Error message