Stacktrace visible in console on binding error

Throwing the caught exception caused the stack trace of the original exception to be lost (in Chrome, at least). Using new Error() fixed this.