JException::getError
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.
JException::getError[edit]
Description[edit]
Get the most recent error message.
Template:Description:JException::getError [Edit Descripton]
Since[edit]
Synopsis[edit]
public JException::getError ($i=null, $toString=true)
Parameter | Type | Default | Description |
---|---|---|---|
$i | integer | null | Option error index |
$toString | boolean | true | Indicates if objects should return their error message |
Returns[edit]
string Error message public
Defined in[edit]
libraries/joomla/error/exception.php (line 226)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JException::getError
Examples[edit]
<CodeExamplesForm />