_this.errors.push(error.response.data.error); code example
Example: _this.errors.push(error.response.data.error);
.catch(error => {
this.errors = [];
// you can debug it
console.log(error);
});
.catch(error => {
this.errors = [];
// you can debug it
console.log(error);
});