lib/therror.js
function WithName(name, Base) {
  let BaseClass =  Base || Therror;
  return class extends BaseClass {
    constructor(err, msg, prop) {
      super(err, msg, prop);
      this.name = name;
    }
  };
}
function WithName(name, Base) {
  let BaseClass =  Base || Therror;
  return class extends BaseClass {
    constructor(err, msg, prop) {
      super(err, msg, prop);
      this.name = name;
    }
  };
}
function WithName ( name , Base ) { let BaseClass = Base || Therror ; return class extends BaseClass { constructor ( err , msg , prop ) { super ( err , msg , prop ) ; this . name = name ; } } ; }
Hack to deal with Node8 BreakingChange about Error class name
Hack to deal with Node8 BreakingChange about Error class name