Hmm, this was a problem before. I don't think `err` is actually defined here. Can you clean up my mess and instantiate it with `new Error` ?