function error(error) { try { this.$go_home('/'); } catch (e) { /* handle exception */ console.log(e.status); } return (404); } export $error;