export class LaconaError extends Error {
  constructor(message) {
    super()
    this.message = message
    this.stack = (new Error()).stack;
    this.name = this.constructor.name;
  }
}

@@ -4,13 +4,16 @@
 ort 
-class
+function
  Lac
@@ -24,38 +24,8 @@
 rror
- extends Error %7B%0A  constructor
 (mes
@@ -33,23 +33,10 @@
 age)
- 
 %7B%0A
-    super()%0A
     
@@ -61,88 +61,46 @@
 sage
-%0A    this.stack = (new Error()).stack;%0A    this.name = this.constructor.name;%0A  %7D%0A%7D
+;%0A%7D%0A%0ALaconaError.prototype = new Error();
 %0A

Update error for new babel 6 impl