Try / Catch Errors

try {
	throw new Error('something went wrong'); 
} catch(e) {
	console.log(Error("error"));
}