all throws now throw instances of subclasses of Error, instead of strings
fixed error when the function throws an error instead of throwing an 'error' event
BAM, error now shows the line in the stack trace