sorry so in v8 they have Error.captureStackTrace, but other browsers don't so we can call the error constructor in the current context to get the error set up right.