spread.js:25 Uncaught (in promise) Error: Request failed with status code 405 code example
Example: vue axios catch error
axios.get('/user/1').then((response) => {
console.log('Everything is awesome.');
}).catch((error) => {
console.warn('Not good man :(');
})