Created
May 6, 2018 13:51
-
-
Save nairihar/4e9fea65dc95b4bc22c78d28b806498d to your computer and use it in GitHub Desktop.
Http call using SDK, medium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
const news = await getAllNews(input); | |
} catch (err) { | |
console.log(err.message); // automatic generated message for getAllNews function | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment