Provide a simple API to interact with window.onerror
eriwen opened this issue · 0 comments
eriwen commented
Expected Behavior
Folks wanting to use stacktrace.js with window.onerror may want an API such as window.onerror = Stacktrace.onerror(callback); that calls the callback function with stack frames.
Current Behavior
No such API exists
Context
Requested in stacktracejs/stackframe#20