try { const result = 2 / 0; console.log(result); } catch (error) { console.err(error); throw new Error('Something went wrong', { cause: error }); }