To get which function threw exception in javascript

Posted by uzay95 on Stack Overflow See other posts from Stack Overflow or by uzay95
Published on 2010-05-02T11:40:49Z Indexed on 2010/05/02 11:57 UTC
Read the original article Hit count: 349

Filed under:
|

I am trying to create a Exception class to get and send errors from client to server. I want to catch exception in javascript function and push the details to the web service to write to database.

But i couldn't get how to get which function/line throwed this exception. Is there any way to solve this?

This is just what i have in exception object

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about exception