diff --git a/lib/exceptions.js b/lib/exceptions.js
index <HASH>..<HASH> 100644
--- a/lib/exceptions.js
+++ b/lib/exceptions.js
@@ -1,4 +1,4 @@
-var  RoboHydraException = function(name, message) {
+var RoboHydraException = function(name, message) {
     // I have no fucking clue why, but this seems to be the only way
     // to get a sane exception thrown, with stack trace and all
     var e = new Error(message);
@@ -7,6 +7,7 @@ var  RoboHydraException = function(name, message) {
     this.name = name;
     this.message = message;
 };
+RoboHydraException.prototype = new Error();
 
 var InvalidRoboHydraResponseException = function() {
     RoboHydraException.call(this,
Make RoboHydraException inherit from Error