By the way, these should all be "new Error(...)".