API16

API16:JError/getErrors

From Joomla! Documentation

Revision as of 22:44, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Method for retrieving the exception stack <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Method for retrieving the exception stack

[Edit Descripton]

Template:Description:JError/getErrors

Syntax

static getErrors()


Returns

array Chronological array of errors that have been stored during script execution

Defined in

libraries/joomla/error/error.php

Importing

jimport( 'joomla.error.error' );

Source Body

public static function getErrors()
{
        return JError::$stack;
}

[Edit See Also] Template:SeeAlso:JError/getErrors

Examples

<CodeExamplesForm />