Typescript Async Await Exception Handling In Cpp