Created
June 16, 2019 18:16
-
-
Save arunredhu/e8a1f334d471e11be5f7bf236a0feba8 to your computer and use it in GitHub Desktop.
This file contains 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
export default { | |
name: "app-user-list", | |
created() { | |
this.$store.dispatch(actionsTypes.FETCH_USER_DATA); | |
}, | |
errorCaptured(err, vm, info) { | |
// err: error trace | |
// vm: component in which error occured | |
// info: Vue specific error information such as lifecycle hooks, events etc. | |
// TODO: Perform any custom logic or log to server | |
// return false to stop the propagation of errors further to parent or global error handler | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment