Displaying errors to the user

If Numberscope experiences an error, we don't want it to silently fail and leave the user wondering why things aren't working. Instead, we tell them about the error with the hope that they either reload the page or tell us about the error.

Example usage

window.alert( alertMessage(someError) )