real-world-vue icon indicating copy to clipboard operation
real-world-vue copied to clipboard

Mastering Vuex, Success & Error Notifications Lesson 7. error.response should be error.message

Open aspiringguru opened this issue 6 years ago • 0 comments

at 0:36 in the Success & Error Notifications lecture the code incorrectly references error.response when error.message should be used.

console.log('there was an error:', error.response)

https://www.vuemastery.com/courses/mastering-vuex/success-error-notifications

It's a relatively minor error, quite annoying until you realize how simple it is to fix.

This is fixed later in the video when console.log('there was an error:', error.response) is replaced by console.log('there was an error:', error.message)

aspiringguru avatar Mar 08 '19 05:03 aspiringguru