From FirebugWiki

Revision as of 00:13, 22 November 2013 by Sebastianz (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Prints an error message together with an interactive stack trace of JavaScript execution at the point where the exception occurred.

This is similar to console.error with the difference that only the first parameter will be used as name for the error message while the other parameters are logged in an array.


[edit] Syntax

console.exception(object[, object, ...])

[edit] Parameters

[edit] object

Object to output in the console. This can be any kind of object.

[edit] Examples


This prints Error.png Exception to the console.

[edit] See also

Personal tools