Title
s

spierce7

03/29/2017, 4:32 AM
How do kotlin-js stacktraces work?
k

konsoletyper

03/29/2017, 7:46 AM
What do you mean?
s

spierce7

03/29/2017, 4:42 PM
As in can you transform them into kotlin stacktraces?
Sorry, should have been clearer
k

konsoletyper

03/29/2017, 9:20 PM
No, you can't extract stack traces from JS exceptions. Actually, there's no standart stacktrace except for
stack
property, which is a string.
c

cy

04/03/2017, 10:01 AM
in fact the answer is not always "no", some tools (for example karma test runner) could extract js stacktace and convert it to kotlin stacktrace using source maps