Error stack
Brandon Benvie
brandon at brandonbenvie.com
Fri Jun 8 15:25:19 PDT 2012
You can get the arguments. Here's an example of getting more info out of a
try..catch: https://gist.github.com/2898384
Which results in error.stack being an array of objects like (function,
arguments, and receiver are actual function/array/object)
{
function: <function>,
name: "InjectedScript._evaluateOn",
inferredName: "_evaluateOn",
arguments: <Array[5]>,
invocationType: "call",
receiver: <receiver>,
inferredType: "Object",
origin: undefined,
column: 33,
line: 343,
position: 12853,
type: "file"
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120608/cf1993af/attachment.html>
More information about the es-discuss
mailing list