javascript - How can I catch JS exceptions from async functions I don't control? -


i know using try..catch async functions doesn't work, , advice i've read suggests using inside passed callback.

however, without control on async function throws exception, can 1 catch it? in example it's chrome.bookmarks.create, fails on edge cases.

in chrome extensions, there 3 possible ways of catching asynchronous errors:


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -