title: Is it possible to dump JavaScript errors to a div in HTML?
body: <p>I'm writing a game and I've got a console for developers to interact with JavaScript methods in the game. I have a problem though; I can't figure out how to drop JavaScript errors to the console. Is there anyway to write errors to a div or HTML element?</p>