JSFiddle - React, Tailwind, and code Playground
by tonyleeper
JavaScript
/**
Global error handling
*/
window.onerror = function(msg, url, linenumber) {
alert('Error message: '+msg+'\nURL: '+url+'\nLine Number: '+linenumber);
return true;
}
throw new Error("hello");