What an odd coincidence, as I too posted an article about Promise error handling, with an example that uses a hypothetical user profile interface. It was about five days before this one was posted. May I assume it served as some sort of inspiration? Granted, your aim here is very different, so I'm surely not accusing you of copying me. Just curious.
Note that uncaught rejections do not throw in Chrome, at least not at this time with the version I have. They log an error to the console, which is not nearly as useful for debugging.
What an odd coincidence, as I too posted an article about Promise error handling, with an example that uses a hypothetical user profile interface. It was about five days before this one was posted. May I assume it served as some sort of inspiration? Granted, your aim here is very different, so I'm surely not accusing you of copying me. Just curious.
linkedin.com/pulse/promise-promise...
Have you read the follow-up, which was posted a few days later?
linkedin.com/pulse/waiting-good-co...
Note that uncaught rejections do not throw in Chrome, at least not at this time with the version I have. They log an error to the console, which is not nearly as useful for debugging.
I haven't seen your post as I don't use LinkedIn(I'm not proud of it). I'll check out your post though.
I think you will find it useful. I guess we just had similar ideas for the hypothetical functions in similar subject matter.
Google suggested I check out your article the day after I posted my follow-up. Enjoy!