1let error = null; 2try { 3 throw new Error('Caught'); 4} catch (e) { 5 error = e; 6} 7 8if (error) { 9 throw new Error('Uncaught'); 10} 11