code: function ErrorAbstract(msg, constructor) {
    this.message = msg;
  
    Error.call(this, this.message);
  
    /* istanbul ignore else */
    if (canCapture) {
      Error.captureStackTrace(this, constructor);
    } else if (canStack) {
      this.stack = new Error().stack;
    } else {
      this.stack = '';
    }
  }
docs: Abstract error object
  @class ErrorAbstract
  @access private
  @param  {string}      [msg]         Error message
  @param  {function}    constructor