Actions

API17

Difference between revisions of "JException::getError"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JException->getError ($i=null, $toString=true)
+
public JException::getError ($i=null, $toString=true)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
string Error message  public
 
string Error message  public
 
===Defined in===
 
===Defined in===
libraries/joomla/error/exception.php
+
libraries/joomla/error/exception.php (line 226)
 +
* see source code in [[jplatform:error/exception.php#cl-226|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:27, 23 April 2011

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

Description

Get the most recent error message.

Description:JException::getError [Edit Descripton]

Since

Joomla 11.1

Synopsis

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

string Error message public

Defined in

libraries/joomla/error/exception.php (line 226)

Referenced by

See also

[Edit See Also]

SeeAlso:JException::getError

Examples

<CodeExamplesForm />