const axios = require('axios')
const execFunc = async () => {
try {
const { data, status, statusText } = await axios.get('https://api.github.com/users/wolven531/repos')
if (status !== 200) {
throw new Error(statusText)
}
console.log('inside then... resolution.data=', data)
} catch(err) {
console.log(err)
}
console.log('executing the finally...')
}
execFunc()