I have this function and looks ugly because there are a lot of "catch" doing the same. Any idea how to make it better?
saveUser: function(){
let user_id = this.$route.params.user_id;
let payload = this.user;
updateUser(user_id, payload).then(response => {
updateOrCreateAddresses(payload).then(response => {
updateOrCreateBalances(payload).then(response => {
this.success();
}).catch(error => {
this.showError(error)
})
}).catch(error => {
this.showError(error)
})
}).catch(error => {
this.showError(error)
})
},