JasonLeyba: bot.Error doesn't need to extend goog.debug.Error, it can extend Error directly. Also, correctly generate a stacktrace with bot.Error's message and custom name so that the stack prints out correctly.
JasonLeyba: bot.Error doesn't need to extend goog.debug.Error, it can extend Error directly.
Also, correctly generate a stacktrace with bot.Error's message and custom name so that the stack prints out correctly.

r15156

krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate