Difference between revisions of "Console.exception"

From FirebugWiki
Jump to: navigation, search
m (Removed the dot after the output)
m (Added categories)
Line 23: Line 23:
* [[console.assert]]
* [[console.assert]]
* [[Console API]]
* [[Console API]]

Latest revision as of 16:13, 21 November 2013

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.


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



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



This prints Error.png Exception to the console.

See also[edit]